Marshal::GetFunctionPointerForDelegate 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.

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

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticGetFunctionPointerForDelegate(Delegate^)

Converts a delegate into a function pointer that is callable from unmanaged code.

System_CAPS_pubmethodSystem_CAPS_staticGetFunctionPointerForDelegate<TDelegate>(TDelegate)

[Supported in the .NET Framework 4.5.1 and later versions]

Converts a delegate of a specified type to a function pointer that is callable from unmanaged code.

Return to top
Show: