Click or drag to resize
GCHandleAddrOfPinnedObject Method
Retrieves the address of an object in a Pinned handle.

Namespace: System.Runtime.InteropServices
Assembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
public IntPtr AddrOfPinnedObject()

Return Value

Type: IntPtr
The address of the of the Pinned object as an IntPtr.
Exceptions
ExceptionCondition
InvalidOperationExceptionThe handle is any type other than Pinned.
See Also