Char.IsAsciiHexDigit(Char) 方法

定義

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

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

參數

c
Char

要評估的字元。

傳回

true 如果 c 是十六進位數位,則為 ,否則為 false

備註

這個方法會判斷字元是否在範圍 '0' 到 '9'、內含、'A' 到 'F'、包含或 'a' 到 'f',內含。

適用於