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;
Address of target pinned object.
Marshal Class | Marshal Members | System.Runtime.InteropServices Namespace