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!

Marshal.GetPinnedObject

Returns the object, previously pinned against garbage collection and movement by a call to GetPinnedHandle.

[Visual Basic]
Public Shared Function GetPinnedObject( _
   ByVal handleIndex As Integer _
) As Object
[C#]
public static object GetPinnedObject(
   int handleIndex
);
[C++]
public: static Object* GetPinnedObject(
   int handleIndex
);
[JScript]
public static function GetPinnedObject(
   handleIndex : int
) : Object;

Parameters

handleIndex
Handle returned by previous call to GetPinnedHandle for this object.

Return Value

Previously-pinned object.

See Also

Marshal Class | Marshal Members | System.Runtime.InteropServices Namespace