This documentation is archived and is not being maintained.

Uri.IsHexDigit Method

Determines whether a specified character is a valid hexadecimal digit.

[Visual Basic]
Public Shared Function IsHexDigit( _
   ByVal character As Char _
) As Boolean
[C#]
public static bool IsHexDigit(
 char character
);
[C++]
public: static bool IsHexDigit(
 __wchar_t character
);
[JScript]
public static function IsHexDigit(
   character : Char
) : Boolean;

Parameters

character
The character to validate.

Return Value

true if the character is a valid hexadecimal digit; otherwise false.

Remarks

Hexadecimal digits are the digits 0-9 and the letters A-F or a-f.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework, Common Language Infrastructure (CLI) Standard

See Also

Uri Class | Uri Members | System Namespace

Show: