Rune.Explicit Opérateur

Définition

Surcharges

Explicit(Char to Rune)

Définit une conversion explicite d’un caractère Unicode 16 bits en Rune.

Explicit(Int32 to Rune)

Définit une conversion explicite d’un entier signé 32 bits en Rune.

Explicit(UInt32 to Rune)

Définit une conversion explicite d’un entier non signé 32 bits en Rune.

Explicit(Char to Rune)

Définit une conversion explicite d’un caractère Unicode 16 bits 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

Paramètres

ch
Char

Caractère Unicode 16 bits à convertir.

Retours

Rune

ch sous forme de caractère Unicode 32 bits.

Exceptions

ch est une valeur scalaire Unicode qui représente un point de code de substitution.

S’applique à

Explicit(Int32 to Rune)

Définit une conversion explicite d’un entier signé 32 bits 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

Paramètres

value
Int32

Entier signé 32 bits à convertir.

Retours

Rune

value sous forme de caractère Unicode 32 bits.

Exceptions

value est une valeur scalaire Unicode non valide.

S’applique à

Explicit(UInt32 to Rune)

Important

Cette API n’est pas conforme CLS.

Définit une conversion explicite d’un entier non signé 32 bits 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

Paramètres

value
UInt32

Entier signé 32 bits à convertir.

Retours

Rune

value sous forme de caractère Unicode 32 bits.

Attributs

Exceptions

value est une valeur scalaire Unicode non valide.

S’applique à