/// <summary> /// Заполнение свойств заданной конфигурации /// </summary> /// <param name="confgName"></param> private void SetProperty(string confgName) { object vPropNames = null; string[] propNames; object vPropTypes = null; object vPropValues = null; object[] propValues; object resolved = null; object linkProp = null; int CountPropertyes; _customPropManager = SwModel.Extension.CustomPropertyManager[confgName]; // Get the custom properties CountPropertyes = _customPropManager.GetAll3(ref vPropNames, ref vPropTypes, ref vPropValues, ref resolved, ref linkProp); propValues = (object[])vPropValues; propNames = (string[])vPropNames; // Заполняем лист свойств List <SwProperty> listProp = new List <SwProperty>(); for (int i = 0; i < CountPropertyes; i++) { listProp.Add(new SwProperty(propNames[i], propValues[i], swCustomInfoType_e.swCustomInfoText)); } _ConfigPropertys.Add(confgName, listProp); }