GetCharacterType

GetCharacterType(char)

Gets a type of a character.

public CharacterType GetCharacterType(char character)
Parameter Type Description
character Char The character to get a type.

Return Value

A type of the character.

See Also


GetCharacterType(int)

Gets a type of a Unicode code point.

public CharacterType GetCharacterType(int codePoint)
Parameter Type Description
codePoint Int32 The Unicode code point to get a type.

Return Value

A type of the Unicode code point.

See Also


GetCharacterType(string)

Gets a type of a character. This method can be used to obtain the type of surrogate pair.

public CharacterType GetCharacterType(string character)
Parameter Type Description
character String The character or surrogate pair to get a type.

Return Value

A type of the character.

See Also