StringNormalizationExtensions.Normalize Methode

Definitie

Normaliseert een tekenreeks.

Overloads

Name Description
Normalize(String)

Normaliseert een tekenreeks naar een Unicode-normalisatieformulier C.

Normalize(String, NormalizationForm)

Normaliseert een tekenreeks naar het opgegeven Unicode-normalisatieformulier.

Normalize(String)

Normaliseert een tekenreeks naar een Unicode-normalisatieformulier C.

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

Parameters

valuestrInput
String

De tekenreeks die moet worden genormaliseerd.

Retouren

Een nieuwe tekenreeks waarvan de tekstuele waarde hetzelfde is als value maar waarvan de binaire weergave zich in Unicode-normalisatievorm C bevindt.

Uitzonderingen

value is null.

value bevat ongeldige Unicode-tekens.

Van toepassing op

Normalize(String, NormalizationForm)

Normaliseert een tekenreeks naar het opgegeven Unicode-normalisatieformulier.

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

Parameters

valuestrInput
String

De tekenreeks die moet worden genormaliseerd.

normalizationForm
NormalizationForm

De Unicode-normalisatievorm.

Retouren

Een nieuwe tekenreeks waarvan de tekstuele waarde hetzelfde is als value maar waarvan de binaire weergave zich in de normalizationForm normalisatievorm bevindt.

Kenmerken

Uitzonderingen

value is null.

value bevat ongeldige Unicode-tekens.

Van toepassing op