EncoderReplacementFallbackBuffer.GetNextChar 方法

定义

检索替换回退缓冲区中的下一个字符。

public:
 override char GetNextChar();
public override char GetNextChar ();
override this.GetNextChar : unit -> char
Public Overrides Function GetNextChar () As Char

返回

Char

应用程序可对其进行编码的替换回退缓冲区中的下一个 Unicode 字符。

注解

如果它们在其输入中遇到未知代理项对或字符,则调用 GetBytesConvert 方法 Fallback 。 If the return value of Fallback is true, the calling method can invoke GetNextChar to obtain each character in the replacement fallback buffer.

适用于