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

Retrieve the address of an object in a Pinned handle.

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

Return Value

Returns the address of the of the pinned object as an integer.

Exceptions

Exception Type Condition
InvalidOperationException will be thrown if the handle is any type other than Pinned.

See Also

GCHandle Structure | GCHandle Members | System.Runtime.InteropServices Namespace