XmlConvert.IsXmlSurrogatePair(Char, Char) 方法
定义
检查传入的代理项字符对是否是有效的 XML 字符。Checks if the passed-in surrogate pair of characters is a valid XML character.
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
要验证的代理项字符。The surrogate character to validate.
- highChar
- Char
要验证的代理项字符。The surrogate character to validate.
返回
如果传入的字符代理项对是有效的 XML 字符,则为 true;否则为 false。true if the passed in surrogate pair of characters is a valid XML character; otherwise, false.