XmlDictionaryReader.IsTextNode(XmlNodeType) 方法

定義

測試目前節點是否為文字節點。

protected:
 bool IsTextNode(System::Xml::XmlNodeType nodeType);
protected bool IsTextNode (System.Xml.XmlNodeType nodeType);
member this.IsTextNode : System.Xml.XmlNodeType -> bool
Protected Function IsTextNode (nodeType As XmlNodeType) As Boolean

參數

nodeType
XmlNodeType

要測試的節點型別。

傳回

如果節點型別為 TextWhitespaceSignificantWhitespaceCDATAAttribute,則為 true,否則為 false

適用於