C# Class System.Runtime.InteropServices.GCHandle

Mostra file Open project: gbarnett/shared-source-cli-2.0 Class Usage Examples

Public Methods

Method Description
Equals ( Object o ) : bool
GetHashCode ( ) : int
ToIntPtr ( GCHandle value ) : IntPtr
operator ( ) : bool

Private Methods

Method Description
AddrOfPinnedObject ( ) : IntPtr
Alloc ( Object value ) : GCHandle
Alloc ( Object value, GCHandleType type ) : GCHandle
Free ( ) : void
FromIntPtr ( IntPtr value ) : GCHandle
GCHandle ( IntPtr handle ) : System
GCHandle ( Object value, GCHandleType type ) : System
GetHandleValue ( ) : IntPtr
InternalAddrOfPinnedObject ( IntPtr handle ) : IntPtr
InternalAlloc ( Object value, GCHandleType type ) : IntPtr
InternalCheckDomain ( IntPtr handle ) : void
InternalCompareExchange ( IntPtr handle, Object value, Object oldValue, bool isPinned ) : Object
InternalFree ( IntPtr handle ) : void
InternalGet ( IntPtr handle ) : Object
InternalSet ( IntPtr handle, Object value, bool isPinned ) : void
IsPinned ( ) : bool
SetIsPinned ( ) : void

Method Details

Equals() public method

public Equals ( Object o ) : bool
o Object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

ToIntPtr() public static method

public static ToIntPtr ( GCHandle value ) : IntPtr
value GCHandle
return System.IntPtr

operator() public static method

public static operator ( ) : bool
return bool