語言

Rune.IsDigit(Rune) 方法

定義

回傳一個值,表示指定的符文是否被分類為十進位數字。

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

參數

value
Rune

用來評估的符文。

傳回

true 若 value 為小數位;否則為 false。

備註

此方法等同於查詢 GetUnicodeCategory(Rune) 並將結果與 DecimalDigitNumber進行比較。

如需詳細資訊,請參閱Char.IsDigit。

適用於