StringNormalizationExtensions.IsNormalized Méthode

Définition

Indique si une chaîne est normalisée.Indicates whether a string is normalized.

Surcharges

IsNormalized(String)

Indique si la chaîne spécifiée figure dans un formulaire de normalisation Unicode C.Indicates whether the specified string is in Unicode normalization form C.

IsNormalized(String, NormalizationForm)

Indique si une chaîne figure dans un formulaire de normalisation Unicode spécifié.Indicates whether a string is in a specified Unicode normalization form.

IsNormalized(String)

Indique si la chaîne spécifiée figure dans un formulaire de normalisation Unicode C.Indicates whether the specified string is in Unicode normalization form 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

Paramètres

valuestrInput
String

Chaîne.A string.

Retours

Boolean

true si value figure dans un formulaire de normalisation C ; sinon, false.true if value is in normalization form C; otherwise, false.

Exceptions

value a la valeur null.value is null.

value contient des caractères Unicode non valides.value contains invalid Unicode characters.

S’applique à

IsNormalized(String, NormalizationForm)

Indique si une chaîne figure dans un formulaire de normalisation Unicode spécifié.Indicates whether a string is in a specified Unicode normalization form.

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

Paramètres

valuestrInput
String

Chaîne.A string.

normalizationForm
NormalizationForm

Formulaire de normalisation Unicode.A Unicode normalization form.

Retours

Boolean

true si value figure dans un formulaire de normalisation normalizationForm ; sinon, false.true if value is in normalization form normalizationForm; otherwise, false.

Attributs

Exceptions

value a la valeur null.value is null.

value contient des caractères Unicode non valides.value contains invalid Unicode characters.

S’applique à