C#/XAML for HTML5 Documentation
C#/XAML for HTML5 Documentation
Reference
System.Runtime.InteropServices
GCHandle Structure
GCHandle Methods
AddrOfPinnedObject Method
Alloc Method
Equals Method
Free Method
GetHashCode Method
GCHandle
AddrOfPinnedObject 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#
Copy
public
IntPtr
AddrOfPinnedObject
()
Return Value
Type:
IntPtr
The address of the of the Pinned object as an
IntPtr
.
Exceptions
Exception
Condition
InvalidOperationException
The handle is any type other than
Pinned
.
See Also
Reference
GCHandle Structure
System.Runtime.InteropServices Namespace