StringNormalize Method (NormalizationForm) |
Returns a new string whose textual value is the same as this string, but whose binary representation is in the specified Unicode normalization form.
Namespace: SystemAssembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax public string Normalize(
NormalizationForm normalizationForm
)
Parameters
- normalizationForm
- Type: System.TextNormalizationForm
A Unicode normalization form.
Return Value
Type:
StringA new string whose textual value is the same as this string, but whose binary representation is in the normalization form specified by the
normalizationForm parameter.
Exceptions Exception | Condition |
---|
ArgumentException | The current instance contains invalid Unicode characters. |
See Also