Char: ConvertToUtf32Str |
Converts the value of a UTF-16 encoded character or surrogate pair at a specified position in a string into a Unicode code point.
Public Function ConvertToUtf32Str( ByRef s As String, ByVal Index As Long ) As Long
Exception | Condition |
---|---|
ArgumentOutOfRangeException | index is not a position within s. |
ArgumentException | The specified index position contains a surrogate pair, and either the first character in the pair is not a valid high surrogate or the second character in the pair is not a valid low surrogate. |