public List<string> GetAllPropertiesNames(SwDMConfiguration14 swCfg) { List<string> Names = new List<string>(); foreach (string name in swCfg.GetCustomPropertyNames()) { Names.Add(name.ToUpper()); } foreach (string name in Doc.GetCustomPropertyNames()) { if (!Names.Contains(name)) { _Names.Add(name.ToUpper()); } } return Names; }
public List<string> GetAllConfigPropertiesNames(SwDMConfiguration14 swCfg) { List<string> Names = new List<string>(); if (swCfg.GetCustomPropertyCount() != 0) { foreach (string name in swCfg.GetCustomPropertyNames()) { Names.Add(name.ToUpper()); } } return Names; }