共用方式為


XmlConvert.IsXmlSurrogatePair(Char, Char) 方法

定義

檢查傳入的字元 Surrogate 字組是否為有效的 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

要驗證的 Surrogate 字元。

highChar
Char

要驗證的 Surrogate 字元。

傳回

如果傳入的 Surrogate 字元組是有效的 XML 字元,則為 true;否則為 false

適用於