UIntPtr.Explicit Operator
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
Overloads
| Name | Description |
|---|---|
| Explicit(UInt32 to UIntPtr) |
Converteert de waarde van een 32-bits geheel getal zonder teken naar een UIntPtr. |
| Explicit(UInt64 to UIntPtr) |
Converteert de waarde van een 64-bits geheel getal zonder teken naar een UIntPtr. |
| Explicit(UIntPtr to UInt32) |
Converteert de waarde van de opgegeven UIntPtr waarde naar een 32-bits geheel getal zonder teken. |
| Explicit(UIntPtr to UInt64) |
Converteert de waarde van de opgegeven UIntPtr waarde naar een 64-bits geheel getal zonder teken. |
| Explicit(UIntPtr to Void*) |
Converteert de waarde van de opgegeven UIntPtr waarde naar een aanwijzer naar een niet-opgegeven type. Deze API is niet CLS-conform. |
| Explicit(Void* to UIntPtr) |
Converteert de opgegeven aanwijzer naar een niet-opgegeven type naar een UIntPtr. Deze API is niet CLS-conform. |
Explicit(UInt32 to UIntPtr)
- Bron:
- UIntPtr.cs
- Bron:
- UIntPtr.cs
- Bron:
- UIntPtr.cs
- Bron:
- UIntPtr.cs
- Bron:
- UIntPtr.cs
Converteert de waarde van een 32-bits geheel getal zonder teken naar een 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
Parameters
- value
- UInt32
Een 32-bits geheel getal zonder teken.
Retouren
unativeint
Een nieuw exemplaar van UIntPtr geïnitialiseerd naar value.
Zie ook
Van toepassing op
Explicit(UInt64 to UIntPtr)
- Bron:
- UIntPtr.cs
- Bron:
- UIntPtr.cs
- Bron:
- UIntPtr.cs
- Bron:
- UIntPtr.cs
- Bron:
- UIntPtr.cs
Converteert de waarde van een 64-bits geheel getal zonder teken naar een 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
Parameters
- value
- UInt64
Een 64-bits geheel getal zonder teken.
Retouren
unativeint
Een nieuw exemplaar van UIntPtr geïnitialiseerd naar value.
Uitzonderingen
In een 32-bits proces value is te groot om te vertegenwoordigen als een UIntPtr.
Zie ook
Van toepassing op
Explicit(UIntPtr to UInt32)
- Bron:
- UIntPtr.cs
- Bron:
- UIntPtr.cs
- Bron:
- UIntPtr.cs
- Bron:
- UIntPtr.cs
- Bron:
- UIntPtr.cs
Converteert de waarde van de opgegeven UIntPtr waarde naar een 32-bits geheel getal zonder teken.
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
Parameters
- value
-
UIntPtr
unativeint
Het niet-ondertekende gehele getal dat moet worden geconverteerd.
Retouren
De inhoud van value.
Uitzonderingen
In een 64-bits proces is de waarde value te groot om te vertegenwoordigen als een 32-bits geheel getal zonder teken.
Opmerkingen
Er wordt alleen een uitzondering gegenereerd als de waarde van value meer bits vereist dan het uitvoerproces ondersteunt.
Zie ook
Van toepassing op
Explicit(UIntPtr to UInt64)
- Bron:
- UIntPtr.cs
- Bron:
- UIntPtr.cs
- Bron:
- UIntPtr.cs
- Bron:
- UIntPtr.cs
- Bron:
- UIntPtr.cs
Converteert de waarde van de opgegeven UIntPtr waarde naar een 64-bits geheel getal zonder teken.
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
Parameters
- value
-
UIntPtr
unativeint
Het niet-ondertekende gehele getal dat moet worden geconverteerd.
Retouren
De inhoud van value.
Zie ook
Van toepassing op
Explicit(UIntPtr to Void*)
- Bron:
- UIntPtr.cs
- Bron:
- UIntPtr.cs
- Bron:
- UIntPtr.cs
- Bron:
- UIntPtr.cs
- Bron:
- UIntPtr.cs
Belangrijk
Deze API is niet CLS-conform.
Converteert de waarde van de opgegeven UIntPtr waarde naar een aanwijzer naar een niet-opgegeven type.
Deze API is niet CLS-conform.
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>
Parameters
- value
-
UIntPtr
unativeint
Het niet-ondertekende gehele getal dat moet worden geconverteerd.
Retouren
De inhoud van value.
- Kenmerken
Zie ook
Van toepassing op
Explicit(Void* to UIntPtr)
- Bron:
- UIntPtr.cs
- Bron:
- UIntPtr.cs
- Bron:
- UIntPtr.cs
- Bron:
- UIntPtr.cs
- Bron:
- UIntPtr.cs
Belangrijk
Deze API is niet CLS-conform.
Converteert de opgegeven aanwijzer naar een niet-opgegeven type naar een UIntPtr.
Deze API is niet CLS-conform.
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
Parameters
- value
- Void*
Een aanwijzer naar een niet-opgegeven type.
Retouren
unativeint
Een nieuw exemplaar van UIntPtr geïnitialiseerd naar value.
- Kenmerken