Partager via


UrlQuerySanitizer.IsHexDigit(Char) Method

Definition

Test if a character is a hexidecimal digit.

[Android.Runtime.Register("isHexDigit", "(C)Z", "GetIsHexDigit_CHandler")]
protected virtual bool IsHexDigit (char c);
[<Android.Runtime.Register("isHexDigit", "(C)Z", "GetIsHexDigit_CHandler")>]
abstract member IsHexDigit : char -> bool
override this.IsHexDigit : char -> bool

Parameters

c
Char

the character to test

Returns

true if c is a hex digit.

Attributes

Remarks

Test if a character is a hexidecimal digit. Both upper case and lower case hex digits are allowed.

Java documentation for android.net.UrlQuerySanitizer.isHexDigit(char).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to