UIntPtr Constructores
Definición
Sobrecargas
UIntPtr(UInt32) |
Inicializa una nueva instancia de la estructura UIntPtr que utiliza el puntero o identificador especificado de 32 bits.Initializes a new instance of the UIntPtr structure using the specified 32-bit pointer or handle. |
UIntPtr(UInt64) |
Inicializa una nueva instancia de UIntPtr utilizando el puntero o identificador de 64 bits especificado.Initializes a new instance of UIntPtr using the specified 64-bit pointer or handle. |
UIntPtr(Void*) |
Inicializa una nueva instancia de UIntPtr usando el puntero especificado a un tipo no especificado.Initializes a new instance of UIntPtr using the specified pointer to an unspecified type. |
UIntPtr(UInt32)
public:
UIntPtr(System::UInt32 value);
public UIntPtr (uint value);
new unativeint : uint32 -> unativeint
Public Sub New (value As UInteger)
Parámetros
- value
- UInt32
Puntero o identificador contenido en un entero de 32 bits sin signo.A pointer or handle contained in a 32-bit unsigned integer.
Se aplica a
UIntPtr(UInt64)
public:
UIntPtr(System::UInt64 value);
public UIntPtr (ulong value);
new unativeint : uint64 -> unativeint
Public Sub New (value As ULong)
Parámetros
- value
- UInt64
Puntero o identificador contenido en un entero de 64 bits sin signo.A pointer or handle contained in a 64-bit unsigned integer.
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.
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.
Se aplica a
UIntPtr(Void*)
Importante
Esta API no es conforme a CLS.
public:
UIntPtr(void* value);
[System.CLSCompliant(false)]
[System.Security.SecurityCritical]
public UIntPtr (void* value);
public UIntPtr (void* value);
[System.CLSCompliant(false)]
public UIntPtr (void* value);
[<System.CLSCompliant(false)>]
[<System.Security.SecurityCritical>]
new unativeint : nativeptr<unit> -> unativeint
new unativeint : nativeptr<unit> -> unativeint
[<System.CLSCompliant(false)>]
new unativeint : nativeptr<unit> -> unativeint
Parámetros
- value
- Void*
Puntero a un tipo no especificado.A pointer to an unspecified type.
- Atributos