Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

XmlReader Properties

The XmlReader type exposes the following members.

  NameDescription
Public property AttributeCount When overridden in a derived class, gets the number of attributes on the current node.
Public property BaseURI When overridden in a derived class, gets the base URI of the current node.
Public property CanReadBinaryContent Gets a value indicating whether the XmlReader implements the binary content read methods.
Public property CanReadValueChunk Gets a value indicating whether the XmlReader implements the ReadValueChunk method.
Public property CanResolveEntity Gets a value indicating whether this reader can parse and resolve entities.
Public property Depth When overridden in a derived class, gets the depth of the current node in the XML document.
Public property EOF When overridden in a derived class, gets a value indicating whether the reader is positioned at the end of the stream.
Public property HasAttributes Gets a value indicating whether the current node has any attributes.
Public property HasValue When overridden in a derived class, gets a value indicating whether the current node can have a Value.
Public property IsDefault 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 property IsEmptyElement When overridden in a derived class, gets a value indicating whether the current node is an empty element (for example, <MyElement/>).
Public property Item[Int32] When overridden in a derived class, gets the value of the attribute with the specified index.
Public property Item[String] When overridden in a derived class, gets the value of the attribute with the specified Name.
Public property Item[String, String] When overridden in a derived class, gets the value of the attribute with the specified LocalName and NamespaceURI.
Public property LocalName When overridden in a derived class, gets the local name of the current node.
Public property Name When overridden in a derived class, gets the qualified name of the current node.
Public property NamespaceURI 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 property NameTable When overridden in a derived class, gets the XmlNameTable associated with this implementation.
Public property NodeType When overridden in a derived class, gets the type of the current node.
Public property Prefix When overridden in a derived class, gets the namespace prefix associated with the current node.
Public property QuoteChar When overridden in a derived class, gets the quotation mark character used to enclose the value of an attribute node.
Public property ReadState When overridden in a derived class, gets the state of the reader.
Public property SchemaInfo Gets the schema information that has been assigned to the current node as a result of schema validation.
Public property Settings Gets the XmlReaderSettings object used to create this XmlReader instance.
Public property Value When overridden in a derived class, gets the text value of the current node.
Public property ValueType Gets The Common Language Runtime (CLR) type for the current node.
Public property XmlLang When overridden in a derived class, gets the current xml:lang scope.
Public property XmlSpace When overridden in a derived class, gets the current xml:space scope.
Top

Community Additions

ADD
Show:
© 2015 Microsoft