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.

适用于

另请参阅