Esempio n. 1
0
        public static void ProcessConfigCustomProperties(SwDMConfiguration13 swCfg)
        {
            var vCustPropNameArr = (string[])swCfg.GetCustomPropertyNames();

            if ((vCustPropNameArr == null))
            {
                return;
            }
            Debug.Print(" Custom Properties:");

            var array = "";

            foreach (var vCustPropName in vCustPropNameArr)
            {
                SwDmCustomInfoType nPropType;
                var sCustPropStr = swCfg.GetCustomProperty(vCustPropName, out nPropType);
                array = array + "\n" + " " + vCustPropName + " <" + nPropType + "> = " + sCustPropStr;
                Debug.Print(" " + vCustPropName + " <" + nPropType + "> = " + sCustPropStr);
            }
            MessageBox.Show(array);
            Debug.Print("");
        }
Esempio n. 2
0
        public static void ProcessConfigCustomProperties(SwDMConfiguration13 swCfg)
        {
            var vCustPropNameArr = (string[])swCfg.GetCustomPropertyNames();

            if ((vCustPropNameArr == null)) return;
            Debug.Print(" Custom Properties:");

            var array = "";

            foreach (var vCustPropName in vCustPropNameArr)
            {
                SwDmCustomInfoType nPropType;
                var sCustPropStr = swCfg.GetCustomProperty(vCustPropName, out nPropType);
                array = array + "\n" + " " + vCustPropName + " <" + nPropType + "> = " + sCustPropStr;
                Debug.Print(" " + vCustPropName + " <" + nPropType + "> = " + sCustPropStr);
            }
            MessageBox.Show(array);
              Debug.Print("");
        }