XmlElement.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

属性值

XmlNodeType

节点类型。The node type. 对于 XmlElement 节点,该值是 XmlNodeType.Element。For XmlElement nodes, this value is XmlNodeType.Element.

适用于

另请参阅