System.Xml.XmlReader: Property Members

The properties of System.Xml.XmlReader are listed below. For a list of all members, see the XmlReader Members list.

See Also: Inherited members from System.Object

Public Properties

[read-only]
abstract
AttributeCountint.

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

[read-only]
abstract
BaseURIstring.

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

[read-only]
CanReadBinaryContentbool.

Gets a value indicating whether the System.Xml.XmlReader implements the binary content read methods.

[read-only]
CanReadValueChunkbool.

Gets a value indicating whether the System.Xml.XmlReader implements the XmlReader.ReadValueChunk(Char[], int, int) method.

[read-only]
CanResolveEntitybool.

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

[read-only]
abstract
Depthint.

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

[read-only]
abstract
EOFbool.

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

[read-only]
HasAttributesbool.

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

[read-only]
HasValuebool.

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

[read-only]
IsDefaultbool.

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.

[read-only]
abstract
IsEmptyElementbool.

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

[read-only]
default property
Item(int)string. Retrieves the value of the attribute with the specified index relative to the containing element.
[read-only]
default property
Item(string)string. Retrieves the value of the attribute with the specified qualified name.
[read-only]
default property
Item(string, string)string. Retrieves the value of the attribute with the specified local name and namespace URI.
[read-only]
abstract
LocalNamestring.

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

[read-only]
Namestring.

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

[read-only]
abstract
NamespaceURIstring.

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.

[read-only]
abstract
NameTableXmlNameTable.

When overridden in a derived class, gets the System.Xml.XmlNameTable associated with this implementation.

[read-only]
abstract
NodeTypeXmlNodeType.

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

[read-only]
abstract
Prefixstring.

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

[read-only]
QuoteCharchar.

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

[read-only]
abstract
ReadStateReadState.

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

[read-only]
SchemaInfoSystem.Xml.Schema.IXmlSchemaInfo.

Gets the schema information that has been assigned to the current node as a result of schema validation.

[read-only]
SettingsXmlReaderSettings.

Gets the System.Xml.XmlReaderSettings object used to create this System.Xml.XmlReader instance.

[read-only]
abstract
Valuestring.

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

[read-only]
ValueTypeType.

Gets The Common Language Runtime (CLR) type for the current node.

[read-only]
XmlLangstring.

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

[read-only]
XmlSpaceXmlSpace.

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