UIntPtr.Explicit Operátor
Definíció
Fontos
Egyes információk olyan, kiadás előtti termékekre vonatkoznak, amelyek a kiadásig még jelentősen módosulhatnak. A Microsoft nem vállal kifejezett vagy törvényi garanciát az itt megjelenő információért.
Túlterhelések
| Név | Description |
|---|---|
| Explicit(Void* to UIntPtr) |
A megadott mutatót meghatározatlan típussá UIntPtralakítja. Ez az API nem CLS-kompatibilis. |
| Explicit(UIntPtr to Void*) |
A megadott UIntPtr értékeket mutatóvá alakítja egy meghatározatlan típussá. Ez az API nem CLS-kompatibilis. |
| Explicit(UIntPtr to UInt64) |
A megadott UIntPtr érték konvertálása 64 bites, aláíratlan egész számmá. |
| Explicit(UIntPtr to UInt32) |
A megadott UIntPtr értéket 32 bites, aláíratlan egész számmá alakítja. |
| Explicit(UInt64 to UIntPtr) |
Egy 64 bites aláíratlan egész szám értékét átalakítja egy UIntPtr. |
| Explicit(UInt32 to UIntPtr) |
Egy 32 bites aláíratlan egész szám értékét alakítja át egy UIntPtr. |
Explicit(Void* to UIntPtr)
- Forrás:
- UIntPtr.cs
- Forrás:
- UIntPtr.cs
- Forrás:
- UIntPtr.cs
- Forrás:
- UIntPtr.cs
- Forrás:
- UIntPtr.cs
Fontos
Ez az API nem CLS-kompatibilis.
A megadott mutatót meghatározatlan típussá UIntPtralakítja.
Ez az API nem CLS-kompatibilis.
public:
static explicit operator UIntPtr(void* value);
[System.CLSCompliant(false)]
[System.Security.SecurityCritical]
public static explicit operator UIntPtr(void* value);
public static explicit operator UIntPtr(void* value);
[System.CLSCompliant(false)]
public static explicit operator UIntPtr(void* value);
[<System.CLSCompliant(false)>]
[<System.Security.SecurityCritical>]
static member op_Explicit : nativeptr<unit> -> unativeint
static member op_Explicit : nativeptr<unit> -> unativeint
[<System.CLSCompliant(false)>]
static member op_Explicit : nativeptr<unit> -> unativeint
Paraméterek
- value
- Void*
Egy meghatározatlan típusra mutató mutató.
Válaszok
unativeint
Az inicializálás új példányaUIntPtr.value
- Attribútumok
Lásd még
A következőre érvényes:
Explicit(UIntPtr to Void*)
- Forrás:
- UIntPtr.cs
- Forrás:
- UIntPtr.cs
- Forrás:
- UIntPtr.cs
- Forrás:
- UIntPtr.cs
- Forrás:
- UIntPtr.cs
Fontos
Ez az API nem CLS-kompatibilis.
A megadott UIntPtr értékeket mutatóvá alakítja egy meghatározatlan típussá.
Ez az API nem CLS-kompatibilis.
public:
static explicit operator void*(UIntPtr value);
[System.CLSCompliant(false)]
[System.Security.SecurityCritical]
public static explicit operator void*(UIntPtr value);
public static explicit operator void*(UIntPtr value);
[System.CLSCompliant(false)]
public static explicit operator void*(UIntPtr value);
[<System.CLSCompliant(false)>]
[<System.Security.SecurityCritical>]
static member op_Explicit : unativeint -> nativeptr<unit>
static member op_Explicit : unativeint -> nativeptr<unit>
[<System.CLSCompliant(false)>]
static member op_Explicit : unativeint -> nativeptr<unit>
Paraméterek
- value
-
UIntPtr
unativeint
Az átalakítandó aláíratlan egész szám.
Válaszok
A tartalom.value
- Attribútumok
Lásd még
A következőre érvényes:
Explicit(UIntPtr to UInt64)
- Forrás:
- UIntPtr.cs
- Forrás:
- UIntPtr.cs
- Forrás:
- UIntPtr.cs
- Forrás:
- UIntPtr.cs
- Forrás:
- UIntPtr.cs
A megadott UIntPtr érték konvertálása 64 bites, aláíratlan egész számmá.
public:
static explicit operator System::UInt64(UIntPtr value);
public static explicit operator ulong(UIntPtr value);
static member op_Explicit : unativeint -> uint64
Public Shared Narrowing Operator CType (value As UIntPtr) As ULong
Paraméterek
- value
-
UIntPtr
unativeint
Az átalakítandó aláíratlan egész szám.
Válaszok
A tartalom.value
Lásd még
A következőre érvényes:
Explicit(UIntPtr to UInt32)
- Forrás:
- UIntPtr.cs
- Forrás:
- UIntPtr.cs
- Forrás:
- UIntPtr.cs
- Forrás:
- UIntPtr.cs
- Forrás:
- UIntPtr.cs
A megadott UIntPtr értéket 32 bites, aláíratlan egész számmá alakítja.
public:
static explicit operator System::UInt32(UIntPtr value);
public static explicit operator uint(UIntPtr value);
static member op_Explicit : unativeint -> uint32
Public Shared Narrowing Operator CType (value As UIntPtr) As UInteger
Paraméterek
- value
-
UIntPtr
unativeint
Az átalakítandó aláíratlan egész szám.
Válaszok
A tartalom.value
Kivételek
Egy 64 bites folyamat értéke value túl nagy ahhoz, hogy 32 bites aláíratlan egész számként jelöljön.
Megjegyzések
Kivétel csak akkor történik, ha a value végrehajtási folyamat által támogatottnál több bitre van szükség.
Lásd még
A következőre érvényes:
Explicit(UInt64 to UIntPtr)
- Forrás:
- UIntPtr.cs
- Forrás:
- UIntPtr.cs
- Forrás:
- UIntPtr.cs
- Forrás:
- UIntPtr.cs
- Forrás:
- UIntPtr.cs
Egy 64 bites aláíratlan egész szám értékét átalakítja egy UIntPtr.
public:
static explicit operator UIntPtr(System::UInt64 value);
public static explicit operator UIntPtr(ulong value);
static member op_Explicit : uint64 -> unativeint
Public Shared Narrowing Operator CType (value As ULong) As UIntPtr
Paraméterek
- value
- UInt64
64 bites aláíratlan egész szám.
Válaszok
unativeint
Az inicializálás új példányaUIntPtr.value
Kivételek
Egy 32 bites folyamat esetén túl nagy ahhoz, value hogy egy UIntPtr.
Lásd még
A következőre érvényes:
Explicit(UInt32 to UIntPtr)
- Forrás:
- UIntPtr.cs
- Forrás:
- UIntPtr.cs
- Forrás:
- UIntPtr.cs
- Forrás:
- UIntPtr.cs
- Forrás:
- UIntPtr.cs
Egy 32 bites aláíratlan egész szám értékét alakítja át egy UIntPtr.
public:
static explicit operator UIntPtr(System::UInt32 value);
public static explicit operator UIntPtr(uint value);
static member op_Explicit : uint32 -> unativeint
Public Shared Narrowing Operator CType (value As UInteger) As UIntPtr
Paraméterek
- value
- UInt32
32 bites aláíratlan egész szám.
Válaszok
unativeint
Az inicializálás új példányaUIntPtr.value