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!

XmlReader Properties

The properties of the XmlReader class are listed below. For a complete list of XmlReader class members, see the XmlReader Members topic.

Public:

AttributeCount Gets the number of attributes on the current node.
BaseURI Gets the base URI of the current node.
Depth Gets the depth of the current node in the XML element stack.
EntityHandling Gets or sets a value that specifies how the XmlReader handles entities.
EOF Gets a value indicating whether XmlReader is positioned at the end of the stream.
HasAttributes Gets a value indicating whether the current node has any attributes.
HasValue Gets a value indicating whether Value has a value to return.
IsDefault Gets a value indicating whether the current node is an attribute that was generated from the default value defined in the DTD or schema.
IsEmptyTag Gets a value indicating whether the current node is an empty element (for example, <MyElement/>).
Item Overloaded. Gets the value of an attribute. This is a shortcut for the GetAttribute method.

In C#, this member is the indexer for the XmlReader class.

LocalName Gets the name of the current node without the namespace prefix.
Name Gets the name of the current node, including the namespace prefix.
NamespaceURI Gets the namespace URN (as defined in the W3C Namespace Specification) of the current namespace scope.
NameTable Gets the XmlNameTable associated with this implementation.
NodeType Gets the type of the current node.
Prefix Gets the namespace prefix associated with the current node.
QuoteChar Gets the quotation mark character used to enclose the value of an attribute node.
ReadState Returns the read state of the stream.
Value Gets the text value of the current node.
XmlLang Gets the current xml:lang scope.
XmlSpace Gets the current xml:space scope.

See Also

XmlReader Class | System.NewXml Namespace