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

定義

文字列を正規化します。Normalizes a string.

オーバーロード

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

文字列を Unicode 正規形 C に正規化します。Normalizes a string to a Unicode normalization form C.

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

文字列を、指定された Unicode 正規形に正規化します。Normalizes a string to the specified Unicode normalization form.

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

文字列を Unicode 正規形 C に正規化します。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

パラメーター

value
String String String String

正規化する文字列。The string to normalize.

戻り値

value と同じテキスト値を持ち、かつ、バイナリ表現が Unicode 正規形 C である新しい文字列。A new string whose textual value is the same as value but whose binary representation is in Unicode normalization form C.

例外

value に無効な Unicode 文字が含まれています。value contains invalid Unicode characters.

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

文字列を、指定された Unicode 正規形に正規化します。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

パラメーター

value
String String String String

正規化する文字列。The string to normalize.

normalizationForm
NormalizationForm NormalizationForm NormalizationForm NormalizationForm

Unicode 正規形。The Unicode normalization form.

戻り値

value と同じテキスト値を持ち、かつ、バイナリ表現が正規形 normalizationForm である新しい文字列。A new string whose textual value is the same as value but whose binary representation is in the normalizationForm normalization form.

例外

value に無効な Unicode 文字が含まれています。value contains invalid Unicode characters.

適用対象