1 write to parent
System.Management (1)
System\Management\PropertySet.cs (1)
57this.parent = parent;
16 references to parent
System.Management (16)
System\Management\PropertySet.cs (16)
84int status = parent.wbemObject.GetNames_(null, flag, ref qualVal, out propertyNames); 149int status = this.parent.wbemObject.GetNames_(null, flag, ref dummy, out nameArray); 157array.SetValue(new PropertyData(parent, propertyName), index++); 186return (IEnumerator)(new PropertyDataEnumerator(parent, isSystem)); 198return new PropertyDataEnumerator(parent, isSystem); 353return new PropertyData(parent, propertyName); 377if (parent.GetType() == typeof(ManagementObject)) 379ManagementClass cls = new ManagementClass(parent.ClassPath); 380parent.SetPropertyValue(propertyName, cls.GetPropertyValue(propertyName)); 384int status = parent.wbemObject.Delete_(propertyName); 416if (parent.GetType() == typeof(ManagementObject)) //can't add properties to instance 427int status = parent.wbemObject.Put_(propertyName, 0, ref wmiValue, wmiCimType); 455if (parent.GetType() == typeof(ManagementObject)) //can't add properties to instance 469int status = parent.wbemObject.Put_(propertyName, 0, ref wmiValue, wmiCimType); 497if (parent.GetType() == typeof(ManagementObject)) //can't add properties to instance 507int status = parent.wbemObject.Put_(propertyName, 0, ref dummyObj, wmiCimType);