10 writes to path
System.Management (10)
System\Management\ManagementClass.cs (2)
78newClass.path = ManagementPath._Clone(objPath); 119newClass.path = new ManagementPath(ManagementPath.GetManagementPath(wbemObject));
System\Management\ManagementObject.cs (8)
161newObject.path = ManagementPath._Clone(mgObj.path); 185newObject.path = new ManagementPath(ManagementPath.GetManagementPath(wbemObject)); 407this.path = ManagementPath._Clone(path, new IdentifierChangedEventHandler(HandleIdentifierChange)); 410this.path = ManagementPath._Clone(null, new IdentifierChangedEventHandler(HandleIdentifierChange)); 562return path ??= ManagementPath._Clone(null); 582path = ManagementPath._Clone((ManagementPath)value, new IdentifierChangedEventHandler(HandleIdentifierChange)); 2551path = new ManagementPath(); 2650path = (System.DBNull.Value != val) ? (new ManagementPath((string)val)) : (new ManagementPath());
52 references to path
System.Management (52)
System\Management\ManagementClass.cs (1)
95newClass.path.internalClassName = (string)className;
System\Management\ManagementObject.cs (51)
160if (null != mgObj.path) 161newObject.path = ManagementPath._Clone(mgObj.path); 186newObject.path.IdentifierChanged += new IdentifierChangedEventHandler(newObject.HandleIdentifierChange); 579if (null != path) 580path.IdentifierChanged -= new IdentifierChangedEventHandler(HandleIdentifierChange); 772if ((null == path) || (path.Path.Length == 0)) 785status = scope.GetSecuredIWbemServicesHandler(scope.GetIWbemServices()).GetObject_(path.RelativePath, 892if ((null == path) || (path.Path.Length == 0)) 916status = scope.GetSecuredIWbemServicesHandler(wbemServices).GetObjectAsync_(path.RelativePath, 1027if ((null == path) || (path.Path.Length == 0)) 1035path.Path, 1143if ((null == path) || (path.Path.Length == 0)) 1165RelatedObjectQuery q = new RelatedObjectQuery(path.Path, relatedClass, 1264if ((null == path) || (path.Path.Length == 0)) 1271RelationshipQuery q = new RelationshipQuery(path.Path, relationshipClass, 1370if ((null == path) || (path.Path.Length == 0)) 1390RelationshipQuery q = new RelationshipQuery(path.Path, relationshipClass, 1536path.SetRelativePath(newPath.RelativePath); 1678path.SetRelativePath(e.Path.RelativePath); 1946if ((null == path) || (path.Path.Length == 0)) 1963path.RelativePath, 1971path.RelativePath, 2009if ((null == path) || (path.Path.Length == 0)) 2032status = scope.GetSecuredIWbemServicesHandler(wbemServices).DeleteClassAsync_(path.RelativePath, 2039status = scope.GetSecuredIWbemServicesHandler(wbemServices).DeleteInstanceAsync_(path.RelativePath, 2132if ((null == path) || (path.Path.Length == 0)) 2177if ((null == path) || (path.Path.Length == 0)) 2278if ((null == path) || (path.Path.Length == 0)) 2297path.RelativePath, 2343if ((null == path) || (path.Path.Length == 0)) 2372path.RelativePath, 2527if (null != path) 2528return path.Path; 2549if (null == path) 2552path.IdentifierChanged += new IdentifierChangedEventHandler(HandleIdentifierChange); 2562string nsPath = path.GetNamespacePath((int)tag_WBEM_GET_TEXT_FLAGS.WBEMPATH_GET_SERVER_AND_NAMESPACE_ONLY); 2581string nsPath = path.GetNamespacePath((int)tag_WBEM_GET_TEXT_FLAGS.WBEMPATH_GET_SERVER_AND_NAMESPACE_ONLY); 2625string curPath = path.RelativePath; 2651path.IdentifierChanged += new IdentifierChangedEventHandler(HandleIdentifierChange);