MethodDataCollection.Item Property (String)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets the specified MethodData from the MethodDataCollection.

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

public virtual MethodData this[
	string methodName
] { get; }


Type: System.String

The name of the method requested.

Property Value

Type: System.Management.MethodData

Returns a MethodData containing the method data for a specified method from the collection.

A MethodData containing all information about the specified method.

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