Επεξεργασία

Κοινή χρήση μέσω


MethodBuilder.MethodHandle Property

Definition

Retrieves the internal handle for the method. Use this handle to access the underlying metadata handle.

public:
 virtual property RuntimeMethodHandle MethodHandle { RuntimeMethodHandle get(); };
public override RuntimeMethodHandle MethodHandle { get; }
member this.MethodHandle : RuntimeMethodHandle
Public Overrides ReadOnly Property MethodHandle As RuntimeMethodHandle

Property Value

Read-only. The internal handle for the method. Use this handle to access the underlying metadata handle.

Exceptions

This method is not currently supported. Retrieve the method using GetMethod(String, BindingFlags, Binder, CallingConventions, Type[], ParameterModifier[]) and call MethodHandle on the returned MethodInfo.

Applies to