Export (0) Print
Expand All

XmlReader.NodeType Property

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

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

Property Value

One of the XmlNodeType values representing the type of the current node.

Example

See NodeType (in the XmlTextReader class) for a sample using this method.

Requirements

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, Common Language Infrastructure (CLI) Standard

See Also

XmlReader Class | XmlReader Members | System.Xml Namespace

Show:
© 2014 Microsoft