StringNormalizationExtensions.IsNormalized StringNormalizationExtensions.IsNormalized StringNormalizationExtensions.IsNormalized Method

Definition

Indicates whether a string is normalized.

Overloads

IsNormalized(String) IsNormalized(String) IsNormalized(String)

Indicates whether the specified string is in Unicode normalization form C.

IsNormalized(String, NormalizationForm) IsNormalized(String, NormalizationForm)

Indicates whether a string is in a specified Unicode normalization form.

IsNormalized(String) IsNormalized(String) IsNormalized(String)

Indicates whether the specified string is in Unicode normalization form C.

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

A string.

Returns

true if value is in normalization form C; otherwise, false.

Exceptions

value contains invalid Unicode characters.

IsNormalized(String, NormalizationForm) IsNormalized(String, NormalizationForm)

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 static bool IsNormalized (this string value, System.Text.NormalizationForm normalizationForm);
Parameters
value
String String String

A string.

normalizationForm
NormalizationForm NormalizationForm NormalizationForm

A Unicode normalization form.

Returns

true if value is in normalization form normalizationForm; otherwise, false.

Exceptions

value contains invalid Unicode characters.

Applies to