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.AddrOfPinnedObject

Returns the address, in managed heap, of an object that was previously pinned against garbage reclamation or movement (by a call to GetPinnedHandle).

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

Parameters

handleIndex
Handle for the pinned object, as returned by GetPinnedHandle.

Return Value

Address of target pinned object.

See Also

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