NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

XmlNode.NodeType

The node type of this node.

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

Remarks

The value of this property depends on the actual XmlNode class as follows:

XmlNode class Value Example
XmlDocument Document  
XmlElement Element <item>...</item>
XmlText Text text between tags
XmlCData CData <![CDATA[...]]>
XmlComment Comment <!-- this is a comment-->
XmlPI PI <?pi instructions?>
XmlHeader Header <?xml version="1.0"?>
XmlDocType DocType <!DOCTYPE order SYSTEM "order.dtd">

See Also

XmlNode Class | XmlNode Members | System.Xml Namespace