This documentation is archived and is not being maintained.

XmlElement.NodeType Property

Gets the type of the current node.

[Visual Basic]
Overrides Public ReadOnly Property NodeType As XmlNodeType
public override XmlNodeType NodeType {get;}
public: __property XmlNodeType get_NodeType();
public override function get NodeType() : XmlNodeType;

Property Value

The node type. For XmlElement nodes, this value is XmlNodeType.Element.



Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

See Also

XmlElement Class | XmlElement Members | System.Xml Namespace | XmlNodeType