MethodHandle Property

MethodBuilder.MethodHandle Property

 

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

Namespace:   System.Reflection.Emit
Assembly:  mscorlib (in mscorlib.dll)

public override RuntimeMethodHandle MethodHandle { get; }

Property Value

Type: System.RuntimeMethodHandle

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

Exception Condition
NotSupportedException

This method is not currently supported. Retrieve the method using GetMethod and call MethodHandle on the returned MethodInfo.

.NET Framework
Available since 1.1
Silverlight
Available since 2.0
Return to top
Show:
© 2016 Microsoft