Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

GCHandle::Alloc Method

 

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:
© 2017 Microsoft