GCHandle.Explicit Operator

Definitie

Converteert de waarde van een GCHandle object naar een ander type.

Overloads

Name Description
Explicit(IntPtr to GCHandle)

Een GCHandle wordt opgeslagen met behulp van een interne gehele getalweergave.

Explicit(GCHandle to IntPtr)

Een GCHandle wordt opgeslagen met behulp van een interne gehele getalweergave.

Explicit(IntPtr to GCHandle)

Bron:
GCHandle.cs
Bron:
GCHandle.cs
Bron:
GCHandle.cs
Bron:
GCHandle.cs
Bron:
GCHandle.cs

Een GCHandle wordt opgeslagen met behulp van een interne gehele getalweergave.

public:
 static explicit operator System::Runtime::InteropServices::GCHandle(IntPtr value);
[System.Security.SecurityCritical]
public static explicit operator System.Runtime.InteropServices.GCHandle(IntPtr value);
public static explicit operator System.Runtime.InteropServices.GCHandle(IntPtr value);
[<System.Security.SecurityCritical>]
static member op_Explicit : nativeint -> System.Runtime.InteropServices.GCHandle
static member op_Explicit : nativeint -> System.Runtime.InteropServices.GCHandle
Public Shared Narrowing Operator CType (value As IntPtr) As GCHandle

Parameters

value
IntPtr

nativeint

Een IntPtr die de ingang aangeeft waarvoor de conversie is vereist.

Retouren

Het opgeslagen GCHandle object met behulp van een interne gehele getalweergave.

Kenmerken

Opmerkingen

Met deze methode kunt u een GCHandle geheel getal ophalen uit een geheel getal.

Zie ook

Van toepassing op

Explicit(GCHandle to IntPtr)

Bron:
GCHandle.cs
Bron:
GCHandle.cs
Bron:
GCHandle.cs
Bron:
GCHandle.cs
Bron:
GCHandle.cs

Een GCHandle wordt opgeslagen met behulp van een interne gehele getalweergave.

public:
 static explicit operator IntPtr(System::Runtime::InteropServices::GCHandle value);
public static explicit operator IntPtr(System.Runtime.InteropServices.GCHandle value);
static member op_Explicit : System.Runtime.InteropServices.GCHandle -> nativeint
Public Shared Narrowing Operator CType (value As GCHandle) As IntPtr

Parameters

value
GCHandle

Het GCHandle getal waarvoor het gehele getal is vereist.

Retouren

IntPtr

nativeint

De waarde van het gehele getal.

Opmerkingen

Deze methode kan worden gebruikt om de gehele waarde op te halen uit een GCHandle.

Zie ook

Van toepassing op