語言

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」之間,包含。

適用於