NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

GCHandle.Alloc (Object)

[To be supplied.]

[Visual Basic]
Overloads Public Shared Function Alloc( _
   ByVal value As Object _
) As GCHandle
[C#]
public static GCHandle Alloc(
   object value
);
[C++]
public: static GCHandle Alloc(
   Object* value
);
[JScript]
public static function Alloc(
   value : Object
) : GCHandle;

Parameters

value
The object that the GC handle is created for

Return Value

Returns a new GC handle that protects the object

See Also

GCHandle Structure | GCHandle Members | System.Runtime.InteropServices Namespace | GCHandle.Alloc Overload List