EncoderReplacementFallbackBuffer.GetNextChar Method ()

 

Retrieves the next character in the replacement fallback buffer.

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

public override char GetNextChar()

Return Value

Type: System.Char

The next Unicode character in the replacement fallback buffer that the application can encode.

The GetBytes and 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 in the replacement fallback buffer.

.NET Framework
Available since 2.0
Return to top
Show: