Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DecoderReplacementFallbackBuffer::GetNextChar Method ()

 

Retrieves the next character in the replacement fallback buffer.

Namespace:   System.Text
Assembly:  mscorlib (in mscorlib.dll)

public:
virtual wchar_t GetNextChar() override

Return Value

Type: System::Char

The next character in the replacement fallback buffer.

The Encoding::GetBytes and Decoder::Convert methods call Fallback if they encounter an unknown surrogate pair or character in their input. If the return value of Fallback is true, the calling method can invoke GetNextChar to obtain each character of the replacement fallback buffer.

.NET Framework
Available since 2.0
Return to top
Show:
© 2017 Microsoft