GCHandle.Explicit Operator
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Konverterar värdet för ett objekt till en GCHandle annan typ.
Överlagringar
| Name | Description |
|---|---|
| Explicit(IntPtr to GCHandle) |
A GCHandle lagras med en intern heltalsrepresentation. |
| Explicit(GCHandle to IntPtr) |
A GCHandle lagras med en intern heltalsrepresentation. |
Explicit(IntPtr to GCHandle)
- Källa:
- GCHandle.cs
- Källa:
- GCHandle.cs
- Källa:
- GCHandle.cs
- Källa:
- GCHandle.cs
- Källa:
- GCHandle.cs
A GCHandle lagras med en intern heltalsrepresentation.
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
Parametrar
Returer
Det lagrade GCHandle objektet med en intern heltalsrepresentation.
- Attribut
Kommentarer
Med den här metoden kan du hämta en GCHandle från ett heltalsvärde.
Se även
Gäller för
Explicit(GCHandle to IntPtr)
- Källa:
- GCHandle.cs
- Källa:
- GCHandle.cs
- Källa:
- GCHandle.cs
- Källa:
- GCHandle.cs
- Källa:
- GCHandle.cs
A GCHandle lagras med en intern heltalsrepresentation.
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
Parametrar
Returer
nativeint
Heltalsvärdet.
Kommentarer
Den här metoden kan användas för att hämta heltalsvärdet från en GCHandle.