public string ConfigPropertyRawValue(string AttributeName, SwDMConfiguration14 swCfg)
 {
     if (ConfigPropertyExists(AttributeName, swCfg))
     {
         SwDmCustomInfoType Type = default(SwDmCustomInfoType);
         return swCfg.GetCustomProperty2(AttributeName, out Type);
         //  Return swCfg.GetCustomPropertyValues(AttributeName, Type, "")
     }
     else if (this.DocumentPropertyExists(AttributeName))
     {
         return this.DocumentPropertyEvalValue(AttributeName);
     }
     return "";
 }
 public SwDmCustomInfoType ConfigPropertyType(string attributeName, SwDMConfiguration14 swCfg)
 {
     SwDmCustomInfoType Type = default(SwDmCustomInfoType);
     //SwDmCustomInfoType = SwDmCustomInfoType.swDmCustomInfoUnknown
     if (ConfigPropertyExists(attributeName, swCfg))
     {
         swCfg.GetCustomProperty2(attributeName,out Type);
     }
     else if (this.DocumentPropertyExists(attributeName))
     {
         return this.DocumentPropertyType(attributeName);
     }
     return Type;
 }