StringNormalizationExtensions.IsNormalized Methode
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
Geeft aan of een tekenreeks is genormaliseerd.
Overloads
| Name | Description |
|---|---|
| IsNormalized(ReadOnlySpan<Char>, NormalizationForm) |
Bepaalt of de opgegeven reeks tekens zich in een genormaliseerde vorm bevindt. |
| IsNormalized(String) |
Geeft aan of de opgegeven tekenreeks zich in Unicode-normalisatievorm C bevindt. |
| IsNormalized(String, NormalizationForm) |
Geeft aan of een tekenreeks zich in een opgegeven Unicode-normalisatievorm bevindt. |
IsNormalized(ReadOnlySpan<Char>, NormalizationForm)
Bepaalt of de opgegeven reeks tekens zich in een genormaliseerde vorm bevindt.
public static bool IsNormalized(this ReadOnlySpan<char> source, System.Text.NormalizationForm normalizationForm = System.Text.NormalizationForm.FormC);
static member IsNormalized : ReadOnlySpan<char> * System.Text.NormalizationForm -> bool
<Extension()>
Public Function IsNormalized (source As ReadOnlySpan(Of Char), Optional normalizationForm As NormalizationForm = System.Text.NormalizationForm.FormC) As Boolean
Parameters
- source
- ReadOnlySpan<Char>
De reeks tekens die u wilt controleren.
- normalizationForm
- NormalizationForm
Het normalisatieformulier dat moet worden gebruikt.
Retouren
true als de opgegeven reeks tekens een genormaliseerde vorm heeft; anders, false.
Uitzonderingen
Het opgegeven tekenbereik bevat een ongeldig codepunt of het normalisatieformulier is ongeldig.
Van toepassing op
IsNormalized(String)
Geeft aan of de opgegeven tekenreeks zich in Unicode-normalisatievorm C bevindt.
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
Parameters
- valuestrInput
- String
Een tekenreeks.
Retouren
trueals value zich in normalisatievorm C bevindt; anders. false
Uitzonderingen
value is null.
value bevat ongeldige Unicode-tekens.
Van toepassing op
IsNormalized(String, NormalizationForm)
Geeft aan of een tekenreeks zich in een opgegeven Unicode-normalisatievorm bevindt.
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
Parameters
- valuestrInput
- String
Een tekenreeks.
- normalizationForm
- NormalizationForm
Een Unicode-normalisatieformulier.
Retouren
trueals value zich in normalisatievorm normalizationFormbevindt; anders. false
- Kenmerken
Uitzonderingen
value is null.
value bevat ongeldige Unicode-tekens.