RuntimeMethodHandle.GetFunctionPointer RuntimeMethodHandle.GetFunctionPointer RuntimeMethodHandle.GetFunctionPointer RuntimeMethodHandle.GetFunctionPointer Method

Definition

Obtains a pointer to the method represented by this instance.

public:
 IntPtr GetFunctionPointer();
[System.Security.SecurityCritical]
public IntPtr GetFunctionPointer ();
member this.GetFunctionPointer : unit -> nativeint
Public Function GetFunctionPointer () As IntPtr

Returns

A pointer to the method represented by this instance.

Exceptions

The caller does not have the necessary permission to perform this operation.

Security

SecurityCriticalAttribute
Requires full trust for the immediate caller. This member cannot be used by partially trusted or transparent code.

Applies to