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