This documentation is archived and is not being maintained.

GCHandle.Alloc Method

Allocates a handle for the specified object.

Name Description
GCHandle.Alloc (Object) Allocates a Normal handle for the specified object.

Supported by the .NET Compact Framework.

GCHandle.Alloc (Object, GCHandleType) Allocates a handle of the specified type for the specified object.

Supported by the .NET Compact Framework.

Show: