ערוך

שתף באמצעות


MethodDataCollection.Item[String] Property

Definition

Gets the specified MethodData from the MethodDataCollection.

public:
 virtual property System::Management::MethodData ^ default[System::String ^] { System::Management::MethodData ^ get(System::String ^ methodName); };
public virtual System.Management.MethodData this[string methodName] { get; }
member this.Item(string) : System.Management.MethodData
Default Public Overridable ReadOnly Property Item(methodName As String) As MethodData

Parameters

methodName
String

The name of the method requested.

Property Value

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

Remarks

Property Value

A MethodData containing all information about the specified method.

.NET Framework Security

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.

Applies to