StringNormalizationExtensions.IsNormalized Méthode

Définition

Indique si une chaîne est normalisée.

Surcharges

Nom Description
IsNormalized(String)

Indique si la chaîne spécifiée est au format de normalisation Unicode C.

IsNormalized(String, NormalizationForm)

Indique si une chaîne se trouve dans un formulaire de normalisation Unicode spécifié.

IsNormalized(String)

Indique si la chaîne spécifiée est au format de normalisation 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

Paramètres

valuestrInput
String

Chaîne.

Retours

true si value est au format de normalisation C ; sinon, false.

Exceptions

value a la valeur null.

value contient des caractères Unicode non valides.

S’applique à

IsNormalized(String, NormalizationForm)

Indique si une chaîne se trouve dans un formulaire de normalisation Unicode spécifié.

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);
[<System.Security.SecurityCritical>]
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.

normalizationForm
NormalizationForm

Formulaire de normalisation Unicode.

Retours

true s’il value est sous forme normalizationFormde normalisation ; sinon, false.

Attributs

Exceptions

value a la valeur null.

value contient des caractères Unicode non valides.

S’applique à