NodeType Enum

Definition

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

public enum class NodeType
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class NodeType
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum NodeType
var value = Windows.Data.Xml.Dom.NodeType.invalid
Public Enum NodeType
Inheritance
NodeType
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

AttributeNode 2

The node is an XmlAttribute type.

CommentNode 8

The node is an XmlComment type.

DataSectionNode 4

The node is an XmlCDataSection type.

DocumentFragmentNode 11

The node is an XmlDocumentFragment type.

DocumentNode 9

The node is an XmlDocument type.

DocumentTypeNode 10

The node is an XmlDocumentType type.

ElementNode 1

The node is an XmlElement type.

EntityNode 6

The node is an DtdEntity type.

EntityReferenceNode 5

The node is an XmlEntityReference object.

Invalid 0

Default value. Never used by the API.

NotationNode 12

The node is a DtdNotation type.

ProcessingInstructionNode 7

The node is an XmlProcessingInstruction type.

TextNode 3

The node is an XmlText type.

Applies to