UIntPtr.Explicit Opérateur
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
| Nom | Description |
|---|---|
| Explicit(Void* to UIntPtr) |
Convertit le pointeur spécifié en type non spécifié en un UIntPtr. Cette API n’est pas conforme CLS. |
| Explicit(UIntPtr to UInt64) |
Convertit la valeur de l’entier non signé 64 bits spécifié UIntPtr . |
| Explicit(UIntPtr to Void*) |
Convertit la valeur du pointeur spécifié UIntPtr en type non spécifié. Cette API n’est pas conforme CLS. |
| Explicit(UInt64 to UIntPtr) |
Convertit la valeur d’un entier non signé 64 bits en entier UIntPtr. |
| Explicit(UInt32 to UIntPtr) |
Convertit la valeur d’un entier non signé 32 bits en entier UIntPtr. |
| Explicit(UIntPtr to UInt32) |
Convertit la valeur de l’entier non signé 32 bits spécifié UIntPtr . |
Explicit(Void* to UIntPtr)
Important
Cette API n’est pas conforme CLS.
Convertit le pointeur spécifié en type non spécifié en un UIntPtr.
Cette API n’est pas conforme CLS.
public:
static explicit operator UIntPtr(void* value);
[System.CLSCompliant(false)]
[System.Security.SecurityCritical]
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
[<System.CLSCompliant(false)>]
static member op_Explicit : nativeptr<unit> -> unativeint
Paramètres
- value
- Void*
Pointeur vers un type non spécifié.
Retours
unativeint
Nouvelle instance initialisée UIntPtr à value.
- Attributs
Voir aussi
S’applique à
Explicit(UIntPtr to UInt64)
Convertit la valeur de l’entier non signé 64 bits spécifié UIntPtr .
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ètres
- value
-
UIntPtr
unativeint
Entier non signé à convertir.
Retours
Contenu de value.
Voir aussi
S’applique à
Explicit(UIntPtr to Void*)
Important
Cette API n’est pas conforme CLS.
Convertit la valeur du pointeur spécifié UIntPtr en type non spécifié.
Cette API n’est pas conforme CLS.
public:
static explicit operator void*(UIntPtr value);
[System.CLSCompliant(false)]
[System.Security.SecurityCritical]
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>
[<System.CLSCompliant(false)>]
static member op_Explicit : unativeint -> nativeptr<unit>
Paramètres
- value
-
UIntPtr
unativeint
Entier non signé à convertir.
Retours
Contenu de value.
- Attributs
Voir aussi
S’applique à
Explicit(UInt64 to UIntPtr)
Convertit la valeur d’un entier non signé 64 bits en entier 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ètres
- value
- UInt64
Entier non signé 64 bits.
Retours
unativeint
Nouvelle instance initialisée UIntPtr à value.
Exceptions
Dans un processus 32 bits, value est trop grand pour représenter en tant que UIntPtr.
Voir aussi
S’applique à
Explicit(UInt32 to UIntPtr)
Convertit la valeur d’un entier non signé 32 bits en entier 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ètres
- value
- UInt32
Entier non signé 32 bits.
Retours
unativeint
Nouvelle instance initialisée UIntPtr à value.
Voir aussi
S’applique à
Explicit(UIntPtr to UInt32)
Convertit la valeur de l’entier non signé 32 bits spécifié UIntPtr .
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ètres
- value
-
UIntPtr
unativeint
Entier non signé à convertir.
Retours
Contenu de value.
Exceptions
Dans un processus 64 bits, la valeur est value trop grande pour représenter sous forme d’entier non signé 32 bits.
Remarques
Une exception n’est levée que si la valeur de bits nécessite plus de value bits que le processus en cours d’exécution prend en charge.