Node​Type Node​Type Node​Type Enum


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

public enum NodeTypepublic enum NodeTypePublic Enum NodeType
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)


AttributeNode AttributeNode AttributeNode

The node is an XmlAttribute type.

CommentNode CommentNode CommentNode

The node is an XmlComment type.

DataSectionNode DataSectionNode DataSectionNode

The node is an XmlCDataSection type.

DocumentFragmentNode DocumentFragmentNode DocumentFragmentNode

The node is an XmlDocumentFragment type.

DocumentNode DocumentNode DocumentNode

The node is an XmlDocument type.

DocumentTypeNode DocumentTypeNode DocumentTypeNode

The node is an XmlDocumentType type.

ElementNode ElementNode ElementNode

The node is an XmlElement type.

EntityNode EntityNode EntityNode

The node is an DtdEntity type.

EntityReferenceNode EntityReferenceNode EntityReferenceNode

The node is an XmlEntityReference object.

Invalid Invalid Invalid

Default value. Never used by the API.

NotationNode NotationNode NotationNode

The node is a DtdNotation type.

ProcessingInstructionNode ProcessingInstructionNode ProcessingInstructionNode

The node is an XmlProcessingInstruction type.

TextNode TextNode TextNode

The node is an XmlText type.