Compartir vía


StringNormalizationExtensions.IsNormalized Método

Definición

Indica si se normaliza una cadena.

Sobrecargas

IsNormalized(String)

Indica si la cadena especificada tiene la forma de normalización C de Unicode.

IsNormalized(String, NormalizationForm)

Indica si una cadena tiene la forma de normalización Unicode especificada o no.

IsNormalized(String)

Indica si la cadena especificada tiene la forma de normalización C de Unicode.

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

Parámetros

valuestrInput
String

Una cadena.

Devoluciones

Boolean

true si false tiene la forma de normalización C; en caso contrario, value.

Excepciones

value es null.

value contiene caracteres Unicode no válidos.

Se aplica a

IsNormalized(String, NormalizationForm)

Indica si una cadena tiene la forma de normalización Unicode especificada o no.

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);
public static bool IsNormalized (this string strInput, System.Text.NormalizationForm normalizationForm);
[<System.Security.SecurityCritical>]
static member IsNormalized : string * System.Text.NormalizationForm -> bool
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

Parámetros

valuestrInput
String

Una cadena.

normalizationForm
NormalizationForm

Forma de normalización Unicode.

Devoluciones

Boolean

true si value tiene la forma de normalización normalizationForm; en caso contrario, false.

Atributos

Excepciones

value es null.

value contiene caracteres Unicode no válidos.

Se aplica a