ManagementObject.GetMethodParameters Method (String)

 

Returns a ManagementBaseObject representing the list of input parameters for a method.

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

public ManagementBaseObject GetMethodParameters(
	string methodName
)

Parameters

methodName
Type: System.String

The name of the method.

Return Value

Type: System.Management.ManagementBaseObject

A ManagementBaseObject containing the input parameters to the method.

Gets the object containing the input parameters to a method, and then fills in the values and passes the object to the InvokeMethod call.

Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.

.NET Framework
Available since 1.1
Return to top
Show: