CompareInfo.IsSortable Metod

Definition

Anger om ett angivet Unicode-tecken eller en sträng kan sorteras.

Överlagringar

Name Description
IsSortable(Rune)

Anger om en angiven Rune är sorterbar.

IsSortable(String)

Anger om en angiven Unicode-sträng kan sorteras.

IsSortable(ReadOnlySpan<Char>)

Anger om ett angivet skrivskyddat Unicode-intervall med tecken kan sorteras.

IsSortable(Char)

Anger om ett angivet Unicode-tecken kan sorteras.

IsSortable(Rune)

Källa:
CompareInfo.cs
Källa:
CompareInfo.cs
Källa:
CompareInfo.cs
Källa:
CompareInfo.cs
Källa:
CompareInfo.cs

Anger om en angiven Rune är sorterbar.

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

Parametrar

value
Rune

Ett Unicode-skalärt värde.

Returer

true if value is a sortable Unicode scalar value;wise, false.

Gäller för

IsSortable(String)

Källa:
CompareInfo.cs
Källa:
CompareInfo.cs
Källa:
CompareInfo.cs
Källa:
CompareInfo.cs
Källa:
CompareInfo.cs

Anger om en angiven Unicode-sträng kan sorteras.

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

Parametrar

text
String

En sträng med noll eller fler Unicode-tecken.

Returer

trueom parametern text inte är en tom sträng ("") och alla Unicode-tecken i text kan sorteras; annars . false

Attribut

Undantag

text är null.

Kommentarer

Varje Unicode-tecken i parametern str representeras av ett eller flera UTF-16-kodade Char objekt. Parametern str kan sorteras om varje Unicode-tecken definieras i en intern CompareInfo klasssorteringstabell och inte är ett privat användnings- eller omålat hög- eller lågt surrogattecken.

Gäller för

IsSortable(ReadOnlySpan<Char>)

Källa:
CompareInfo.cs
Källa:
CompareInfo.cs
Källa:
CompareInfo.cs
Källa:
CompareInfo.cs
Källa:
CompareInfo.cs

Anger om ett angivet skrivskyddat Unicode-intervall med tecken kan sorteras.

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

Parametrar

text
ReadOnlySpan<Char>

Ett skrivskyddat intervall med tecken på noll eller fler Unicode-tecken.

Returer

true om text är icke-tom och endast innehåller sorterbara Unicode-tecken, falseannars .

Gäller för

IsSortable(Char)

Källa:
CompareInfo.cs
Källa:
CompareInfo.cs
Källa:
CompareInfo.cs
Källa:
CompareInfo.cs
Källa:
CompareInfo.cs

Anger om ett angivet Unicode-tecken kan sorteras.

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

Parametrar

ch
Char

Ett Unicode-tecken.

Returer

true om parametern ch är sorterbar, annars false.

Attribut

Kommentarer

Parametern ch kan sorteras om det är ett Unicode-tecken som definieras i en intern CompareInfo klasssorteringstabell och inte är ett privat användnings- eller obetalt högt eller lågt surrogattecken.

Gäller för