XmlConvert.IsXmlSurrogatePair(Char, Char) 方法

定义

检查传入的代理项字符对是否是有效的 XML 字符。

public:
 static bool IsXmlSurrogatePair(char lowChar, char highChar);
public static bool IsXmlSurrogatePair (char lowChar, char highChar);
static member IsXmlSurrogatePair : char * char -> bool
Public Shared Function IsXmlSurrogatePair (lowChar As Char, highChar As Char) As Boolean

参数

lowChar
Char

要验证的代理项字符。

highChar
Char

要验证的代理项字符。

返回

Boolean

如果传入的字符代理项对是有效的 XML 字符,则为 true;否则为 false

适用于