EncoderExceptionFallbackBuffer: Fallback |
Throws an exception because the input character cannot be encoded. Parameters specify the value and index position of the surrogate pair in the input, and the nominal return value is not used.
Public Function Fallback( ByVal UnknownCharOrHighSurrogate As Long, Optional ByRef UnknownLowSurrogate As Variant, Optional ByVal Index As Long ) As Boolean
Exception | Condition |
---|---|
EncoderFallbackException | The character represented by UnknownCharOrHighSurrogate and UnknownLowSurrogate cannot be encoded. |
ArgumentOutOfRangeException | Either UnknownCharOrHighSurrogate or UnknownLowSurrogate is invalid. |