XmlNode.NodeType Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets the type of the current node, when overridden in a derived class.

Namespace:   System.Xml
Assembly:  System.Xml (in System.Xml.dll)

public abstract XmlNodeType NodeType { get; }

Property Value

Type: System.Xml.XmlNodeType

One of the XmlNodeType values.

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

Universal Windows Platform
Available since 10
.NET Framework
Available since 1.1
Return to top