Converts a specified hexadecimal representation of a character to the character.
Assembly: System (in System.dll)
- Type: System.String
The hexadecimal representation of a character.
- Type: System.Int32
The location in pattern where the hexadecimal representation of a character begins.
Return ValueType: System.Char
The character represented by the hexadecimal encoding at position index. If the character at index is not hexadecimal encoded, the character at index is returned. The value of index is incremented to point to the character following the one returned.
index is less than 0 or greater than or equal to the number of characters in pattern.
The following code example determines whether a character is hexadecimal encoded and, if so, writes the equivalent character to the console.
Windows Phone 8.1, Windows Phone 8, Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.