UIntPtr.Explicit Operador
Definición
Sobrecargas
Explicit(UInt32 to UIntPtr) |
Convierte el valor de un entero de 32 bits sin signo en un UIntPtr.Converts the value of a 32-bit unsigned integer to an UIntPtr. |
Explicit(UInt64 to UIntPtr) |
Convierte el valor de un entero de 64 bits sin signo en un UIntPtr.Converts the value of a 64-bit unsigned integer to an UIntPtr. |
Explicit(UIntPtr to UInt32) |
Convierte el valor del UIntPtr especificado en un entero de 32 bits sin signo.Converts the value of the specified UIntPtr to a 32-bit unsigned integer. |
Explicit(UIntPtr to UInt64) |
Convierte el valor del UIntPtr especificado en un entero de 64 bits sin signo.Converts the value of the specified UIntPtr to a 64-bit unsigned integer. |
Explicit(UIntPtr to Void*) |
Convierte el valor del UIntPtr especificado en un puntero a un tipo no especificado.Converts the value of the specified UIntPtr to a pointer to an unspecified type. Esta API no es conforme a CLS.This API is not CLS-compliant. |
Explicit(Void* to UIntPtr) |
Convierte el puntero especificado a un tipo no especificado en un UIntPtr.Converts the specified pointer to an unspecified type to an UIntPtr. Esta API no es 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
Parámetros
- value
- UInt32
Entero de 32 bits sin signo.A 32-bit unsigned integer.
Devoluciones
Nueva instancia de UIntPtr inicializada en value
.A new instance of UIntPtr initialized to value
.
Consulte también
Se aplica 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
Parámetros
- value
- UInt64
Entero de 64 bits sin signo.A 64-bit unsigned integer.
Devoluciones
Nueva instancia de UIntPtr inicializada en value
.A new instance of UIntPtr initialized to value
.
Excepciones
En una plataforma de 32 bits, value
es demasiado grande para representarse como UIntPtr.On a 32-bit platform, value
is too large to represent as an UIntPtr.
Consulte también
Se aplica 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
Parámetros
- value
- UIntPtr
Puntero o controlador que se va a convertir.The pointer or handle to convert.
Devoluciones
Contenido de value
.The contents of value
.
Excepciones
En una plataforma de 64 bits, el valor de value
es demasiado grande para representarse como un entero de 32 bits sin signo.On a 64-bit platform, the value of value
is too large to represent as a 32-bit unsigned integer.
Comentarios
Solo se produce una excepción si el valor de value
requiere más bits de los que admite la plataforma actual.An exception is only thrown if the value of value
requires more bits than the current platform supports.
Consulte también
Se aplica 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
Parámetros
- value
- UIntPtr
Puntero o controlador que se va a convertir.The pointer or handle to convert.
Devoluciones
Contenido de value
.The contents of value
.
Consulte también
Se aplica a
Explicit(UIntPtr to Void*)
Importante
Esta API no es 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>
Parámetros
- value
- UIntPtr
Puntero o controlador que se va a convertir.The pointer or handle to convert.
Devoluciones
- Void*
Contenido de value
.The contents of value
.
- Atributos
Consulte también
Se aplica a
Explicit(Void* to UIntPtr)
Importante
Esta API no es 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
Parámetros
- value
- Void*
Puntero a un tipo no especificado.A pointer to an unspecified type.
Devoluciones
Nueva instancia de UIntPtr inicializada en value
.A new instance of UIntPtr initialized to value
.
- Atributos