System::Text::EncoderReplacementFallbackBuffer::Fallback method

EncoderReplacementFallbackBuffer::Fallback(char_t, int) method

Handles encoding failure.

virtual bool System::Text::EncoderReplacementFallbackBuffer::Fallback(char_t charUnknown, int index) override
ParameterTypeDescription
charUnknownchar_tUnknown character; ignored.
indexintUnknown character position; ignored.

ReturnValue

True if replacement string is provided and is not empty, false otherwise.

See Also

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

Handles encoding failure.

virtual bool System::Text::EncoderReplacementFallbackBuffer::Fallback(char_t charUnknownHigh, char_t charUnknownLow, int index) override
ParameterTypeDescription
charUnknownHighchar_tHigh part of surrogate pair that triggered error.
charUnknownLowchar_tLow part of surrogate pair that triggered error.
indexintUnknown character position; ignored.

ReturnValue

True if replacement string is provided and is not empty, false otherwise.

See Also