StringNormalizationExtensions.Normalize StringNormalizationExtensions.Normalize StringNormalizationExtensions.Normalize StringNormalizationExtensions.Normalize Method

Definition

Normalizes a string.

Overloads

Normalize(String) Normalize(String) Normalize(String) Normalize(String)

Normalizes a string to a Unicode normalization form C.

Normalize(String, NormalizationForm) Normalize(String, NormalizationForm) Normalize(String, NormalizationForm)

Normalizes a string to the specified Unicode normalization form.

Normalize(String) Normalize(String) Normalize(String) Normalize(String)

Normalizes a string to a Unicode normalization form C.

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

Parameters

value
String String String String

The string to normalize.

Returns

A new string whose textual value is the same as value but whose binary representation is in Unicode normalization form C.

Exceptions

value contains invalid Unicode characters.

Normalize(String, NormalizationForm) Normalize(String, NormalizationForm) Normalize(String, NormalizationForm)

Normalizes a string to the specified Unicode normalization form.

public:
[System::Runtime::CompilerServices::Extension]
 static System::String ^ Normalize(System::String ^ value, System::Text::NormalizationForm normalizationForm);
[System.Security.SecurityCritical]
public static string Normalize (this string value, System.Text.NormalizationForm normalizationForm);
static member Normalize : string * System.Text.NormalizationForm -> string

Parameters

value
String String String String

The string to normalize.

normalizationForm
NormalizationForm NormalizationForm NormalizationForm NormalizationForm

The Unicode normalization form.

Returns

A new string whose textual value is the same as value but whose binary representation is in the normalizationForm normalization form.

Exceptions

value contains invalid Unicode characters.

Applies to