Converts a hex string to an integer. The hex can optionally be prefixed with "0x".
Namespace:
NetQuarry
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public static int FromHex(
string s
)
Public Shared Function FromHex (
s As String
) As Integer
Parameters
- s
- Type: SystemString
The string to convert.
Return Value
Type:
Int32The resulting integer value or zero if string is null or blank.
See Also