UIntPtr.Explicit Operatore
Definizione
Overload
Explicit(UInt32 to UIntPtr) |
Consente di convertire il valore di un intero senza segno a 32 bit in un oggetto UIntPtr.Converts the value of a 32-bit unsigned integer to an UIntPtr. |
Explicit(UInt64 to UIntPtr) |
Converte il valore di un intero senza segno a 64 bit in un oggetto UIntPtr.Converts the value of a 64-bit unsigned integer to an UIntPtr. |
Explicit(UIntPtr to UInt32) |
Consente di convertire il valore dell'oggetto UIntPtr specificato in un intero senza segno a 32 bit.Converts the value of the specified UIntPtr to a 32-bit unsigned integer. |
Explicit(UIntPtr to UInt64) |
Converte il valore dell'oggetto UIntPtr specificato in un intero senza segno a 64 bit.Converts the value of the specified UIntPtr to a 64-bit unsigned integer. |
Explicit(UIntPtr to Void*) |
Converte il valore dell'oggetto UIntPtr specificato in un puntatore a un tipo non specificato.Converts the value of the specified UIntPtr to a pointer to an unspecified type. Questa API non è conforme a CLS.This API is not CLS-compliant. |
Explicit(Void* to UIntPtr) |
Converte il puntatore specificato per un tipo non specificato in un oggetto UIntPtr.Converts the specified pointer to an unspecified type to an UIntPtr. Questa API non è conforme a CLS.This API is not CLS-compliant. |
Explicit(UInt32 to 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
Parametri
- value
- UInt32
Intero senza segno a 32 bit.A 32-bit unsigned integer.
Restituisce
Nuova istanza di UIntPtr inizializzata per value
.A new instance of UIntPtr initialized to value
.
Vedi anche
Si applica a
Explicit(UInt64 to 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
Parametri
- value
- UInt64
Intero senza segno a 64 bit.A 64-bit unsigned integer.
Restituisce
Nuova istanza di UIntPtr inizializzata per value
.A new instance of UIntPtr initialized to value
.
Eccezioni
Su una piattaforma a 32 bit, value
è troppo grande per rappresentare un tipo UIntPtr.On a 32-bit platform, value
is too large to represent as an UIntPtr.
Vedi anche
Si applica a
Explicit(UIntPtr to UInt32)
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
Parametri
- value
- UIntPtr
Puntatore o handle da convertire.The pointer or handle to convert.
Restituisce
Contenuto di value
.The contents of value
.
Eccezioni
Su una piattaforma a 64 bit il valore di value
è troppo grande per essere rappresentato come integer senza segno a 32 bit.On a 64-bit platform, the value of value
is too large to represent as a 32-bit unsigned integer.
Commenti
Un'eccezione viene generata solo se il valore di value
richiede un numero di bit superiore a quello supportato dalla piattaforma corrente.An exception is only thrown if the value of value
requires more bits than the current platform supports.
Vedi anche
Si applica a
Explicit(UIntPtr to UInt64)
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
Parametri
- value
- UIntPtr
Puntatore o handle da convertire.The pointer or handle to convert.
Restituisce
Contenuto di value
.The contents of value
.
Vedi anche
Si applica a
Explicit(UIntPtr to Void*)
Importante
Questa API non è conforme a CLS.
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>
Parametri
- value
- UIntPtr
Puntatore o handle da convertire.The pointer or handle to convert.
Restituisce
- Void*
Contenuto di value
.The contents of value
.
- Attributi
Vedi anche
Si applica a
Explicit(Void* to UIntPtr)
Importante
Questa API non è conforme a CLS.
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
Parametri
- value
- Void*
Puntatore a un tipo non specificato.A pointer to an unspecified type.
Restituisce
Nuova istanza di UIntPtr inizializzata per value
.A new instance of UIntPtr initialized to value
.
- Attributi