XmlConvert.IsPublicIdChar(Char) 方法

定義

如果引數中的字元是有效的公用 ID 字元,則會傳回傳入的字元執行個體,否則傳回 null

public:
 static bool IsPublicIdChar(char ch);
public static bool IsPublicIdChar (char ch);
static member IsPublicIdChar : char -> bool
Public Shared Function IsPublicIdChar (ch As Char) As Boolean

參數

ch
Char

要驗證的 Char 物件。

傳回

如果字元是有效的公用 ID 字元,則為傳入的字元;否則為 null

適用於