Marshal::GetDelegateForFunctionPointer Method

 

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

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticGetDelegateForFunctionPointer(IntPtr, Type^)

Converts an unmanaged function pointer to a delegate.

System_CAPS_pubmethodSystem_CAPS_staticGetDelegateForFunctionPointer<TDelegate>(IntPtr)

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

Converts an unmanaged function pointer to a delegate of a specified type.

Return to top
Show: