GCHandle.Alloc 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.

Allocates a handle for the specified object.

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

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticAlloc(Object)

Allocates a Normal handle for the specified object.

System_CAPS_pubmethodSystem_CAPS_staticAlloc(Object, GCHandleType)

Allocates a handle of the specified type for the specified object.

Return to top
Show: