MethodData Class

 

Contains information about a WMI method.

Namespace:   System.Management
Assembly:  System.Management (in System.Management.dll)

System.Object
  System.Management.MethodData

type MethodData = class end

NameDescription
System_CAPS_pubpropertyInParameters

Gets the input parameters to the method. Each parameter is described as a property in the object. If a parameter is both in and out, it appears in both the InParameters and OutParameters properties.

System_CAPS_pubpropertyName

Gets the name of the method.

System_CAPS_pubpropertyOrigin

Gets the name of the management class in which the method was first introduced in the class inheritance hierarchy.

System_CAPS_pubpropertyOutParameters

Gets the output parameters to the method. Each parameter is described as a property in the object. If a parameter is both in and out, it will appear in both the InParameters and OutParameters properties.

System_CAPS_pubpropertyQualifiers

Gets a collection of qualifiers defined in the method. Each element is of type QualifierData and contains information such as the qualifier name, value, and flavor.

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

The following example lists information about the Win32_Process.Create method using the MethodData class. For more information on the Win32_Process class, see the Windows Management Instrumentation documentation in the MSDN Library at http://msdn.microsoft.com/library.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: