StringNormalizationExtensions.IsNormalized Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Indicates whether a string is normalized.
Overloads
IsNormalized(String) |
Indicates whether the specified string is in Unicode normalization form C. |
IsNormalized(String, NormalizationForm) |
Indicates whether a string is in a specified Unicode normalization form. |
IsNormalized(String)
Indicates whether the specified string is in Unicode normalization form C.
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
A string.
Returns
true
if value
is in normalization form C; otherwise, false
.
Exceptions
value
is null
.
value
contains invalid Unicode characters.
Applies to
IsNormalized(String, NormalizationForm)
Indicates whether a string is in a specified Unicode normalization form.
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
A string.
- normalizationForm
- NormalizationForm
A Unicode normalization form.
Returns
true
if value
is in normalization form normalizationForm
; otherwise, false
.
- Attributes
Exceptions
value
is null
.
value
contains invalid Unicode characters.
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기