แก้ไข

แชร์ผ่าน


Rune.IsLetterOrDigit(Rune) Method

Definition

Returns a value that indicates whether the specified rune is categorized as a letter or a decimal digit.

public:
 static bool IsLetterOrDigit(System::Text::Rune value);
public static bool IsLetterOrDigit (System.Text.Rune value);
static member IsLetterOrDigit : System.Text.Rune -> bool
Public Shared Function IsLetterOrDigit (value As Rune) As Boolean

Parameters

value
Rune

The rune to evaluate.

Returns

true if value is a letter or a decimal digit; otherwise, false.

Remarks

This method is equivalent to querying GetUnicodeCategory(Rune) and comparing the result against any of the values UppercaseLetter, LowercaseLetter, TitlecaseLetter, ModifierLetter, OtherLetter, and DecimalDigitNumber.

For more information, see Char.IsLetterOrDigit.

Applies to