CompareInfo.IsSortable Método
Definición
Indica si se puede ordenar un carácter o una cadena Unicode especificados.Indicates whether a specified Unicode character or string is sortable.
Sobrecargas
IsSortable(Rune) |
Indica si el objeto Rune especificado se puede ordenar.Indicates whether a specified Rune is sortable. |
IsSortable(String) |
Indica si se puede ordenar una cadena Unicode especificada.Indicates whether a specified Unicode string is sortable. |
IsSortable(ReadOnlySpan<Char>) |
Indica si se puede ordenar un intervalo de caracteres Unicode de solo lectura especificado.Indicates whether a specified Unicode read-only span of characters is sortable. |
IsSortable(Char) |
Indica si se puede ordenar un carácter Unicode especificado.Indicates whether a specified Unicode character is sortable. |
IsSortable(Rune)
public:
static bool IsSortable(System::Text::Rune value);
public static bool IsSortable (System.Text.Rune value);
static member IsSortable : System.Text.Rune -> bool
Public Shared Function IsSortable (value As Rune) As Boolean
Parámetros
- value
- Rune
Valor escalar Unicode.A Unicode scalar value.
Devoluciones
true
si value
es un valor escalar Unicode ordenable; de lo contrario, false
.true
if value
is a sortable Unicode scalar value; otherwise, false
.
Se aplica a
IsSortable(String)
Indica si se puede ordenar una cadena Unicode especificada.Indicates whether a specified Unicode string is sortable.
public:
static bool IsSortable(System::String ^ text);
public static bool IsSortable (string text);
[System.Runtime.InteropServices.ComVisible(false)]
public static bool IsSortable (string text);
static member IsSortable : string -> bool
[<System.Runtime.InteropServices.ComVisible(false)>]
static member IsSortable : string -> bool
Public Shared Function IsSortable (text As String) As Boolean
Parámetros
- text
- String
Cadena de cero o más caracteres Unicode.A string of zero or more Unicode characters.
Devoluciones
Es true
si el parámetro str
no es una cadena vacía ("") y todos los caracteres Unicode de str
se pueden ordenar; de lo contrario, es false
.true
if the str
parameter is not an empty string ("") and all the Unicode characters in str
are sortable; otherwise, false
.
- Atributos
Excepciones
str
es null
.str
is null
.
Comentarios
Cada carácter Unicode del str
parámetro se representa mediante uno o más objetos codificados en UTF-16 Char .Each Unicode character in the str
parameter is represented by one or more UTF-16 encoded Char objects. El str
parámetro se ordena si cada carácter Unicode se define en una tabla de CompareInfo ordenación de clases interna y no es un carácter de suplentes de uso privado o de suplente alto o bajo no emparejado.The str
parameter is sortable if each Unicode character is defined in an internal CompareInfo class sort table, and is not a private use or unpaired high or low surrogate character.
Se aplica a
IsSortable(ReadOnlySpan<Char>)
Indica si se puede ordenar un intervalo de caracteres Unicode de solo lectura especificado.Indicates whether a specified Unicode read-only span of characters is sortable.
public:
static bool IsSortable(ReadOnlySpan<char> text);
public static bool IsSortable (ReadOnlySpan<char> text);
static member IsSortable : ReadOnlySpan<char> -> bool
Public Shared Function IsSortable (text As ReadOnlySpan(Of Char)) As Boolean
Parámetros
- text
- ReadOnlySpan<Char>
Intervalo de caracteres de solo lectura de cero o más caracteres Unicode.A read-only span of characters of zero or more Unicode characters.
Devoluciones
true
si text
no está vacío y solo contiene caracteres Unicode ordenables; de lo contrario, false
.true
if text
is non-empty and contains only sortable Unicode characters; otherwise, false
.
Se aplica a
IsSortable(Char)
Indica si se puede ordenar un carácter Unicode especificado.Indicates whether a specified Unicode character is sortable.
public:
static bool IsSortable(char ch);
public static bool IsSortable (char ch);
[System.Runtime.InteropServices.ComVisible(false)]
public static bool IsSortable (char ch);
static member IsSortable : char -> bool
[<System.Runtime.InteropServices.ComVisible(false)>]
static member IsSortable : char -> bool
Public Shared Function IsSortable (ch As Char) As Boolean
Parámetros
- ch
- Char
Carácter Unicode.A Unicode character.
Devoluciones
Es true
si el parámetro ch
se puede ordenar; en caso contrario, es false
.true
if the ch
parameter is sortable; otherwise, false
.
- Atributos
Comentarios
El ch
parámetro se ordena si es un carácter Unicode que se define en una tabla interna de CompareInfo ordenación de clases y no es un carácter de suplente de uso privado o no emparejado.The ch
parameter is sortable if it is a Unicode character that is defined in an internal CompareInfo class sort table, and is not a private use or unpaired high or low surrogate character.