NodeType NodeType NodeType NodeType NodeType Enum


The type of an IXmlNode, as returned by the NodeType property.

public : enum class NodeType
enum class winrt::Windows::Data::Xml::Dom::NodeType : int32_t
public enum NodeType
Public Enum NodeType
var value = Windows.Data.Xml.Dom.NodeType.attributeNode;
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)


AttributeNode AttributeNode AttributeNode AttributeNode AttributeNode 2

The node is an XmlAttribute type.

CommentNode CommentNode CommentNode CommentNode CommentNode 8

The node is an XmlComment type.

DataSectionNode DataSectionNode DataSectionNode DataSectionNode DataSectionNode 4

The node is an XmlCDataSection type.

DocumentFragmentNode DocumentFragmentNode DocumentFragmentNode DocumentFragmentNode DocumentFragmentNode 11

The node is an XmlDocumentFragment type.

DocumentNode DocumentNode DocumentNode DocumentNode DocumentNode 9

The node is an XmlDocument type.

DocumentTypeNode DocumentTypeNode DocumentTypeNode DocumentTypeNode DocumentTypeNode 10

The node is an XmlDocumentType type.

ElementNode ElementNode ElementNode ElementNode ElementNode 1

The node is an XmlElement type.

EntityNode EntityNode EntityNode EntityNode EntityNode 6

The node is an DtdEntity type.

EntityReferenceNode EntityReferenceNode EntityReferenceNode EntityReferenceNode EntityReferenceNode 5

The node is an XmlEntityReference object.

Invalid Invalid Invalid Invalid Invalid 0

Default value. Never used by the API.

NotationNode NotationNode NotationNode NotationNode NotationNode 12

The node is a DtdNotation type.

ProcessingInstructionNode ProcessingInstructionNode ProcessingInstructionNode ProcessingInstructionNode ProcessingInstructionNode 7

The node is an XmlProcessingInstruction type.

TextNode TextNode TextNode TextNode TextNode 3

The node is an XmlText type.