XmlDocument.NodeType 屬性

定義

取得目前節點的類型。Gets the type of the current node.

public:
 virtual property System::Xml::XmlNodeType NodeType { System::Xml::XmlNodeType get(); };
public override System.Xml.XmlNodeType NodeType { get; }
member this.NodeType : System.Xml.XmlNodeType
Public Overrides ReadOnly Property NodeType As XmlNodeType

屬性值

節點類型。The node type. 對於 XmlDocument 節點,此值為 XmlNodeType.Document。For XmlDocument nodes, this value is XmlNodeType.Document.

適用於

另請參閱