Char.IsAsciiDigit(Char) 方法

定義

指出字元是否分類為 ASCII 數位。

public:
 static bool IsAsciiDigit(char c);
public static bool IsAsciiDigit (char c);
static member IsAsciiDigit : char -> bool
Public Shared Function IsAsciiDigit (c As Char) As Boolean

參數

c
Char

要評估的字元。

傳回

true 如果 c 是 ASCII 數位,則為 , false 否則為 。

備註

這個方法會判斷字元是否位於範圍 '0' 到 '9',內含。

適用於