Windows Dev Center

UnicodeCharacters class

Provides a way for apps to get information about Unicode characters.

Syntax


var unicodeCharacters = Windows.Data.Text.UnicodeCharacters;

Members

The UnicodeCharacters class has these types of members:

Methods

The UnicodeCharacters class has these methods. With C#, Visual Basic, and C++, it also inherits methods from the Object class.

MethodDescription
GetCodepointFromSurrogatePair Returns the supplementary Unicode character for the specified high and low surrogate pair.
GetGeneralCategory Returns the UnicodeGeneralCategory of the specified Unicode character.
GetNumericType Returns the UnicodeNumericType of the specified Unicode character.
GetSurrogatePairFromCodepoint Returns the high and low surrogate pair values for the specified supplementary Unicode character.
IsAlphabetic Determines if a specified Unicode character can be considered alphabetic.
IsCased Determines if a specified Unicode character can be considered cased (uppercase, lowercase or titlecase).
IsGraphemeBase Determines if a specified Unicode character can be considered the beginning of a grapheme.
IsGraphemeExtend Determines if a specified Unicode character can be considered to continue a previous grapheme.
IsHighSurrogate Determines if a specified Unicode character is a high surrogate.
IsIdContinue Determines if a specified Unicode character can be considered a continuation character of an identifier in programming.
IsIdStart Determines if a specified Unicode character can be considered the start character of an identifier in programming.
IsLowercase Determines if a specified Unicode character can be considered a lower case character.
IsLowSurrogate Determines if a specified Unicode character is a low surrogate.
IsNoncharacter Determines if a specified codepoint is a non-character.
IsSupplementary Determines if a specified Unicode character is a supplementary character.
IsUppercase Determines if a specified Unicode character can be considered an upper case character.
IsWhitespace Determines if a specified Unicode character can be considered whitespace.

 

Requirements (Windows 10 device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Data.Text
Windows::Data::Text [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8.1 [Windows Store apps, desktop apps]

Minimum supported server

Windows Server 2012 R2 [Windows Store apps, desktop apps]

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.Data.Text
Windows::Data::Text [C++]

Metadata

Windows.winmd

Attributes

[DualApiPartition()]
[MarshalingBehavior(Agile)]
[Threading(Both)]
[Version(0x06030000)]

See also

Object

 

 

Show:
© 2015 Microsoft