This documentation is archived and is not being maintained.

XmlNode.NodeType Property

When overridden in a derived class, gets the type of the current node.

[Visual Basic]
Public MustOverride ReadOnly Property NodeType As XmlNodeType
public abstract XmlNodeType NodeType {get;}
public: __property virtual XmlNodeType get_NodeType() = 0;
public abstract function get NodeType() : XmlNodeType;

Property Value

One of the XmlNodeType values.


This property never returns the XmlNodeType EndElement, EndEntity or None.


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

XmlNode Class | XmlNode Members | System.Xml Namespace