RuntimeMethodHandle.GetFunctionPointer Method ()

 
System_CAPS_noteNote

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

Obtains a pointer to the method represented by this instance.

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

[SecurityCriticalAttribute]
public IntPtr GetFunctionPointer()

Return Value

Type: System.IntPtr

A pointer to the method represented by this instance.

Exception Condition
SecurityException

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

SecurityCriticalAttribute

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

.NET Framework
Available since 1.1
Return to top
Show: