Export (0) Print
Expand All

XmlReader Properties

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

Public Properties

public propertyAttributeCount

Supported by the .NET Compact Framework.

When overridden in a derived class, gets the number of attributes on the current node.
public propertyBaseURI

Supported by the .NET Compact Framework.

When overridden in a derived class, gets the base URI of the current node.
public propertyCanResolveEntity

Supported by the .NET Compact Framework.

Gets a value indicating whether this reader can parse and resolve entities.
public propertyDepth

Supported by the .NET Compact Framework.

When overridden in a derived class, gets the depth of the current node in the XML document.
public propertyEOF

Supported by the .NET Compact Framework.

When overridden in a derived class, gets a value indicating whether the reader is positioned at the end of the stream.
public propertyHasAttributes

Supported by the .NET Compact Framework.

Gets a value indicating whether the current node has any attributes.
public propertyHasValue

Supported by the .NET Compact Framework.

When overridden in a derived class, gets a value indicating whether the current node can have a Value.
public propertyIsDefault

Supported by the .NET Compact Framework.

When overridden in a derived class, gets a value indicating whether the current node is an attribute that was generated from the default value defined in the DTD or schema.
public propertyIsEmptyElement

Supported by the .NET Compact Framework.

When overridden in a derived class, gets a value indicating whether the current node is an empty element (for example, <MyElement/>).
public propertyItem Overloaded. When overridden in a derived class, gets the value of the attribute.

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

public propertyLocalName

Supported by the .NET Compact Framework.

When overridden in a derived class, gets the local name of the current node.
public propertyName

Supported by the .NET Compact Framework.

When overridden in a derived class, gets the qualified name of the current node.
public propertyNamespaceURI

Supported by the .NET Compact Framework.

When overridden in a derived class, gets the namespace URI (as defined in the W3C Namespace specification) of the node on which the reader is positioned.
public propertyNameTable

Supported by the .NET Compact Framework.

When overridden in a derived class, gets the XmlNameTable associated with this implementation.
public propertyNodeType

Supported by the .NET Compact Framework.

When overridden in a derived class, gets the type of the current node.
public propertyPrefix

Supported by the .NET Compact Framework.

When overridden in a derived class, gets the namespace prefix associated with the current node.
public propertyQuoteChar

Supported by the .NET Compact Framework.

When overridden in a derived class, gets the quotation mark character used to enclose the value of an attribute node.
public propertyReadState

Supported by the .NET Compact Framework.

When overridden in a derived class, gets the state of the reader.
public propertyValue

Supported by the .NET Compact Framework.

When overridden in a derived class, gets the text value of the current node.
public propertyXmlLang

Supported by the .NET Compact Framework.

When overridden in a derived class, gets the current xml:lang scope.
public propertyXmlSpace

Supported by the .NET Compact Framework.

When overridden in a derived class, gets the current xml:space scope.

See Also

XmlReader Class | System.Xml Namespace

Show:
© 2014 Microsoft