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

Definición

Normaliza una cadena.Normalizes a string.

Sobrecargas

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

Normaliza una cadena a una forma de normalización C de Unicode.Normalizes a string to a Unicode normalization form C.

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

Normaliza una cadena a la forma de normalización Unicode especificada.Normalizes a string to the specified Unicode normalization form.

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

Normaliza una cadena a una forma de normalización C de Unicode.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

Parámetros

value
String String String String

Cadena que se va a normalizar.The string to normalize.

Devoluciones

Nueva cadena cuyo valor textual es igual que el de value, pero cuya representación binaria tiene la forma de normalización C de Unicode.A new string whose textual value is the same as value but whose binary representation is in Unicode normalization form C.

Excepciones

value contiene caracteres Unicode no válidos.value contains invalid Unicode characters.

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

Normaliza una cadena a la forma de normalización Unicode especificada.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

Parámetros

value
String String String String

Cadena que se va a normalizar.The string to normalize.

normalizationForm
NormalizationForm NormalizationForm NormalizationForm NormalizationForm

Forma de normalización Unicode.The Unicode normalization form.

Devoluciones

Nueva cadena cuyo valor textual es igual que el de value, pero cuya representación binaria tiene la forma de normalización normalizationForm.A new string whose textual value is the same as value but whose binary representation is in the normalizationForm normalization form.

Excepciones

value contiene caracteres Unicode no válidos.value contains invalid Unicode characters.

Se aplica a