Rune.Explicit Operator
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Överlagringar
| Name | Description |
|---|---|
| Explicit(Char to Rune) |
Definierar en explicit konvertering av ett 16-bitars Unicode-tecken till en Rune. |
| Explicit(Int32 to Rune) |
Definierar en explicit konvertering av ett 32-bitars signerat heltal till en Rune. |
| Explicit(UInt32 to Rune) |
Definierar en explicit konvertering av ett 32-bitars osignerat heltal till en Rune. |
Explicit(Char to Rune)
- Källa:
- Rune.cs
- Källa:
- Rune.cs
- Källa:
- Rune.cs
- Källa:
- Rune.cs
- Källa:
- Rune.cs
Definierar en explicit konvertering av ett 16-bitars Unicode-tecken till en Rune.
public:
static explicit operator System::Text::Rune(char ch);
public static explicit operator System.Text.Rune(char ch);
static member op_Explicit : char -> System.Text.Rune
Public Shared Narrowing Operator CType (ch As Char) As Rune
Parametrar
- ch
- Char
Det 16-bitars Unicode-tecken som ska konverteras.
Returer
ch som ett 32-bitars Unicode-tecken.
Undantag
ch är en Unicode-skalär som representerar en surrogatkodpunkt.
Gäller för
Explicit(Int32 to Rune)
- Källa:
- Rune.cs
- Källa:
- Rune.cs
- Källa:
- Rune.cs
- Källa:
- Rune.cs
- Källa:
- Rune.cs
Definierar en explicit konvertering av ett 32-bitars signerat heltal till en Rune.
public:
static explicit operator System::Text::Rune(int value);
public static explicit operator System.Text.Rune(int value);
static member op_Explicit : int -> System.Text.Rune
Public Shared Narrowing Operator CType (value As Integer) As Rune
Parametrar
- value
- Int32
Det 32-bitars signerade heltal som ska konverteras.
Returer
value som ett 32-bitars Unicode-tecken.
Undantag
value är en ogiltig Unicode-skalär.
Gäller för
Explicit(UInt32 to Rune)
- Källa:
- Rune.cs
- Källa:
- Rune.cs
- Källa:
- Rune.cs
- Källa:
- Rune.cs
- Källa:
- Rune.cs
Viktigt!
Detta API uppfyller inte CLS.
Definierar en explicit konvertering av ett 32-bitars osignerat heltal till en Rune.
public:
static explicit operator System::Text::Rune(System::UInt32 value);
[System.CLSCompliant(false)]
public static explicit operator System.Text.Rune(uint value);
[<System.CLSCompliant(false)>]
static member op_Explicit : uint32 -> System.Text.Rune
Public Shared Narrowing Operator CType (value As UInteger) As Rune
Parametrar
- value
- UInt32
Det 32-bitars signerade heltal som ska konverteras.
Returer
value som ett 32-bitars Unicode-tecken.
- Attribut
Undantag
value är en ogiltig Unicode-skalär.