This documentation is archived and is not being maintained.

ManagementPath Methods

The methods of the ManagementPath class are listed here. For a complete list of ManagementPath class members, see the ManagementPath Members topic.

Public Methods

public methodClone Returns a copy of the ManagementPath.
public methodEquals (inherited from Object) Overloaded. Determines whether two Object instances are equal.
public methodGetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
public methodGetType (inherited from Object) Gets the Type of the current instance.
public methodSetAsClass Sets the path as a new class path. This means that the path must have a class name but not key values.
public methodSetAsSingleton Sets the path as a new singleton object path. This means that it is a path to an instance but there are no key values.
public methodToString Overridden. Returns the full object path as the string representation.

Protected Methods

protected methodFinalize (inherited from Object) Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodMemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

Explicit Interface Implementations

ICloneable.Clone Standard Clone returns a copy of this ManagementPath as a generic "Object" type

See Also

ManagementPath Class | System.Management Namespace