Rune Constructores

Definición

Sobrecargas

Rune(Char)

Crea un elemento Rune a partir de la unidad de código UTF-16 proporcionada.Creates a Rune from the provided UTF-16 code unit.

Rune(Int32)

Crea un elemento Rune a partir del entero de 32 bits especificado que representa un valor escalar Unicode.Creates a Rune from the specified 32-bit integer that represents a Unicode scalar value.

Rune(UInt32)

Crea un elemento Rune a partir del entero sin signo de 32 bits especificado que representa un valor escalar Unicode.Creates a Rune from the specified 32-bit unsigned integer that represents a Unicode scalar value.

Rune(Char, Char)

Crea un elemento Rune a partir del par suplente UTF-16 proporcionado.Creates a Rune from the provided UTF-16 surrogate pair.

Rune(Char)

Crea un elemento Rune a partir de la unidad de código UTF-16 proporcionada.Creates a Rune from the provided UTF-16 code unit.

public:
 Rune(char ch);
public Rune (char ch);
new System.Text.Rune : char -> System.Text.Rune
Public Sub New (ch As Char)

Parámetros

ch
Char

Unidad de código UTF-16.A UTF-16 code unit.

Excepciones

ch representa un punto de código suplente UTF-16 (U+D800..U+DFFF, ambos incluidos).ch represents a UTF-16 surrogate code point (U+D800..U+DFFF, inclusive).

Rune(Int32)

Crea un elemento Rune a partir del entero de 32 bits especificado que representa un valor escalar Unicode.Creates a Rune from the specified 32-bit integer that represents a Unicode scalar value.

public:
 Rune(int value);
public Rune (int value);
new System.Text.Rune : int -> System.Text.Rune
Public Sub New (value As Integer)

Parámetros

value
Int32

Valor escalar Unicode.A Unicode scalar value.

Excepciones

value no representa un valor escalar Unicode.value does not represent a Unicode scalar value.

Rune(UInt32)

Importante

Esta API no es conforme a CLS.

Crea un elemento Rune a partir del entero sin signo de 32 bits especificado que representa un valor escalar Unicode.Creates a Rune from the specified 32-bit unsigned integer that represents a Unicode scalar value.

public:
 Rune(System::UInt32 value);
[System.CLSCompliant(false)]
public Rune (uint value);
new System.Text.Rune : uint32 -> System.Text.Rune
Public Sub New (value As UInteger)

Parámetros

value
UInt32

Valor escalar Unicode.A Unicode scalar value.

Atributos

Excepciones

value no representa un valor escalar Unicode.value does not represent a Unicode scalar value.

Rune(Char, Char)

Crea un elemento Rune a partir del par suplente UTF-16 proporcionado.Creates a Rune from the provided UTF-16 surrogate pair.

public:
 Rune(char highSurrogate, char lowSurrogate);
public Rune (char highSurrogate, char lowSurrogate);
new System.Text.Rune : char * char -> System.Text.Rune
Public Sub New (highSurrogate As Char, lowSurrogate As Char)

Parámetros

highSurrogate
Char

Suplente alto del par suplente.The high surrogate of the surrogate pair.

lowSurrogate
Char

Suplente bajo del par suplente.The low surrogate of the surrogate pair.

Excepciones

highSurrogate no representa un punto de código suplente alto UTF-16.highSurrogate does not represent a UTF-16 high surrogate code point.

O bien-or-

lowSurrogate no representa un punto de código suplente bajo UTF-16.lowSurrogate does not represent a UTF-16 low surrogate code point.

Se aplica a