CompareInfo.IsSortable Methode

Definitie

Geeft aan of een opgegeven Unicode-teken of tekenreeks sorteerbaar is.

Overloads

Name Description
IsSortable(Rune)

Geeft aan of een opgegeven Rune sorteerbaar is.

IsSortable(String)

Geeft aan of een opgegeven Unicode-tekenreeks sorteerbaar is.

IsSortable(ReadOnlySpan<Char>)

Hiermee wordt aangegeven of een opgegeven Unicode-alleen-lezen reeks tekens kan worden gesorteerd.

IsSortable(Char)

Geeft aan of een opgegeven Unicode-teken sorteerbaar is.

IsSortable(Rune)

Bron:
CompareInfo.cs
Bron:
CompareInfo.cs
Bron:
CompareInfo.cs
Bron:
CompareInfo.cs
Bron:
CompareInfo.cs

Geeft aan of een opgegeven Rune sorteerbaar is.

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

Parameters

value
Rune

Een Unicode-scalaire waarde.

Retouren

trueals value dit een sorteerbare Unicode-scalaire waarde is; anders. false

Van toepassing op

IsSortable(String)

Bron:
CompareInfo.cs
Bron:
CompareInfo.cs
Bron:
CompareInfo.cs
Bron:
CompareInfo.cs
Bron:
CompareInfo.cs

Geeft aan of een opgegeven Unicode-tekenreeks sorteerbaar is.

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

Parameters

text
String

Een tekenreeks van nul of meer Unicode-tekens.

Retouren

true als de text parameter geen lege tekenreeks ("") is en alle Unicode-tekens in text sorteerbaar zijn; anders, false.

Kenmerken

Uitzonderingen

text is null.

Opmerkingen

Elk Unicode-teken in de str parameter wordt vertegenwoordigd door een of meer UTF-16 gecodeerde Char objecten. De str parameter kan worden gesorteerd als elk Unicode-teken is gedefinieerd in een interne CompareInfo klassensorteerdtabel en geen privégebruik of een niet-gefuurd hoog of laag surrogaatteken is.

Van toepassing op

IsSortable(ReadOnlySpan<Char>)

Bron:
CompareInfo.cs
Bron:
CompareInfo.cs
Bron:
CompareInfo.cs
Bron:
CompareInfo.cs
Bron:
CompareInfo.cs

Hiermee wordt aangegeven of een opgegeven Unicode-alleen-lezen reeks tekens kan worden gesorteerd.

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

Parameters

text
ReadOnlySpan<Char>

Een alleen-lezen reeks tekens van nul of meer Unicode-tekens.

Retouren

trueals text deze niet leeg is en alleen sorteerbare Unicode-tekens bevat, anders. false

Van toepassing op

IsSortable(Char)

Bron:
CompareInfo.cs
Bron:
CompareInfo.cs
Bron:
CompareInfo.cs
Bron:
CompareInfo.cs
Bron:
CompareInfo.cs

Geeft aan of een opgegeven Unicode-teken sorteerbaar is.

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

Parameters

ch
Char

Een Unicode-teken.

Retouren

true als de ch parameter sorteerbaar is; falseanders.

Kenmerken

Opmerkingen

De ch parameter kan worden gesorteerd als het een Unicode-teken is dat is gedefinieerd in een interne CompareInfo sorteertabel van klasse en geen privégebruik of niet-gefuurd hoog of laag surrogaatteken is.

Van toepassing op