Mono Class Library: System.Uri Overview | Members

System.Uri.FromHex Method

Returns the decimal value of a hexadecimal digit.

public static int FromHex (char digit)

Parameters

digit
The hexadecimal digit (0-9, a-f, A-F) to convert.

Returns

A int containing an integer from 0 - 15 that corresponds to the specified hexadecimal digit.

Exceptions

TypeReason
ArgumentExceptiondigit is not a valid hexadecimal digit (0-9, a-f, A-F).

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0