Sdílet prostřednictvím


StringNormalizationExtensions.IsNormalized Metoda

Definice

Určuje, jestli je řetězec normalizován.

Přetížení

IsNormalized(String)

Určuje, zda je zadaný řetězec ve formátu normalizace Unicode C.

IsNormalized(String, NormalizationForm)

Určuje, zda je řetězec v zadaném formátu normalizace Unicode.

IsNormalized(String)

Určuje, zda je zadaný řetězec ve formátu normalizace Unicode C.

public:
[System::Runtime::CompilerServices::Extension]
 static bool IsNormalized(System::String ^ value);
public:
[System::Runtime::CompilerServices::Extension]
 static bool IsNormalized(System::String ^ strInput);
public static bool IsNormalized (this string value);
public static bool IsNormalized (this string strInput);
static member IsNormalized : string -> bool
static member IsNormalized : string -> bool
<Extension()>
Public Function IsNormalized (value As String) As Boolean
<Extension()>
Public Function IsNormalized (strInput As String) As Boolean

Parametry

valuestrInput
String

Řetězec.

Návraty

Boolean

true je-li value ve formě normalizace C; jinak, false.

Výjimky

value je null.

value obsahuje neplatné znaky Unicode.

Platí pro

IsNormalized(String, NormalizationForm)

Určuje, zda je řetězec v zadaném formátu normalizace Unicode.

public:
[System::Runtime::CompilerServices::Extension]
 static bool IsNormalized(System::String ^ value, System::Text::NormalizationForm normalizationForm);
public:
[System::Runtime::CompilerServices::Extension]
 static bool IsNormalized(System::String ^ strInput, System::Text::NormalizationForm normalizationForm);
[System.Security.SecurityCritical]
public static bool IsNormalized (this string value, System.Text.NormalizationForm normalizationForm);
public static bool IsNormalized (this string strInput, System.Text.NormalizationForm normalizationForm);
[<System.Security.SecurityCritical>]
static member IsNormalized : string * System.Text.NormalizationForm -> bool
static member IsNormalized : string * System.Text.NormalizationForm -> bool
<Extension()>
Public Function IsNormalized (value As String, normalizationForm As NormalizationForm) As Boolean
<Extension()>
Public Function IsNormalized (strInput As String, normalizationForm As NormalizationForm) As Boolean

Parametry

valuestrInput
String

Řetězec.

normalizationForm
NormalizationForm

Formulář normalizace Unicode

Návraty

Boolean

true je-li value ve formě normalizationFormnormalizace ; jinak, false.

Atributy

Výjimky

value je null.

value obsahuje neplatné znaky Unicode.

Platí pro