Allocates a Normal handle for the object specified. A normal handle ensures the object will not be collected by the garbage collector and is more space and performance efficient than the two weak handles described in GCHandleType.
[To be supplied.]
[Visual Basic] Overloads Public Shared Function Alloc(Object) As GCHandle
[C#] public static GCHandle Alloc(Object);
[C++] public: static GCHandle Alloc(Object*);
[JScript] public static function Alloc(Object) : GCHandle;
Allocates a handle of the required type for the object specified.
[Visual Basic] Overloads Public Shared Function Alloc(Object, GCHandleType) As GCHandle
[C#] public static GCHandle Alloc(Object, GCHandleType);
[C++] public: static GCHandle Alloc(Object*, GCHandleType);
[JScript] public static function Alloc(Object, GCHandleType) : GCHandle;
GCHandle Structure | GCHandle Members | System.Runtime.InteropServices Namespace