System::Text::EncoderFallbackBuffer::Fallback method

EncoderFallbackBuffer::Fallback(char_t, int) method

Implements actual fallback procedure.

virtual bool System::Text::EncoderFallbackBuffer::Fallback(char_t charUnknown, int index)=0
ParameterTypeDescription
charUnknownchar_tCharacter encoder fails to encode.
indexintIndex of character that triggered error.

ReturnValue

True if buffer processes unknown characters, false if it ignores them.

See Also

EncoderFallbackBuffer::Fallback(char_t, char_t, int) method

Implements actual fallback procedure.

virtual bool System::Text::EncoderFallbackBuffer::Fallback(char_t charUnknownHigh, char_t charUnknownLow, int index)=0
ParameterTypeDescription
charUnknownHighchar_tHigh part of surrogate pair that triggered error.
charUnknownLowchar_tLow part of surrogate pair that triggered error.
indexintIndex of character that triggered error.

ReturnValue

True if buffer processes unknown characters, false if it ignores them.

See Also