XmlTextReader Properties

The XmlTextReader type exposes the following members.

  Name Description
Public property AttributeCount Gets the number of attributes on the current node. (Overrides XmlReader.AttributeCount.)
Public property BaseURI Gets the base URI of the current node. (Overrides XmlReader.BaseURI.)
Public property CanReadBinaryContent Gets a value indicating whether the XmlTextReader implements the binary content read methods. (Overrides XmlReader.CanReadBinaryContent.)
Public property CanReadValueChunk Gets a value indicating whether the XmlTextReader implements the ReadValueChunk method. (Overrides XmlReader.CanReadValueChunk.)
Public property CanResolveEntity Gets a value indicating whether this reader can parse and resolve entities. (Overrides XmlReader.CanResolveEntity.)
Public property Depth Gets the depth of the current node in the XML document. (Overrides XmlReader.Depth.)
Public property DtdProcessing Gets or sets the DtdProcessing enumeration.
Public property Encoding Gets the encoding of the document.
Public property EntityHandling Gets or sets a value that specifies how the reader handles entities.
Public property EOF Gets a value indicating whether the reader is positioned at the end of the stream. (Overrides XmlReader.EOF.)
Public property HasAttributes Gets a value indicating whether the current node has any attributes. (Inherited from XmlReader.)
Public property HasValue Gets a value indicating whether the current node can have a Value other than String.Empty. (Overrides XmlReader.HasValue.)
Public property 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. (Overrides XmlReader.IsDefault.)
Public property IsEmptyElement Gets a value indicating whether the current node is an empty element (for example, <MyElement/>). (Overrides XmlReader.IsEmptyElement.)
Public property Item[Int32] When overridden in a derived class, gets the value of the attribute with the specified index. (Inherited from XmlReader.)
Public property Item[String] When overridden in a derived class, gets the value of the attribute with the specified Name. (Inherited from XmlReader.)
Public property Item[String, String] When overridden in a derived class, gets the value of the attribute with the specified LocalName and NamespaceURI. (Inherited from XmlReader.)
Public property LineNumber Gets the current line number.
Public property LinePosition Gets the current line position.
Public property LocalName Gets the local name of the current node. (Overrides XmlReader.LocalName.)
Public property Name Gets the qualified name of the current node. (Overrides XmlReader.Name.)
Public property Namespaces Gets or sets a value indicating whether to do namespace support.
Public property NamespaceURI Gets the namespace URI (as defined in the W3C Namespace specification) of the node on which the reader is positioned. (Overrides XmlReader.NamespaceURI.)
Public property NameTable Gets the XmlNameTable associated with this implementation. (Overrides XmlReader.NameTable.)
Public property NodeType Gets the type of the current node. (Overrides XmlReader.NodeType.)
Public property Normalization Gets or sets a value indicating whether to normalize white space and attribute values.
Public property Prefix Gets the namespace prefix associated with the current node. (Overrides XmlReader.Prefix.)
Public property ProhibitDtd Obsolete. Gets or sets a value indicating whether to allow DTD processing. This property is obsolete. Use DtdProcessing instead.
Public property QuoteChar Gets the quotation mark character used to enclose the value of an attribute node. (Overrides XmlReader.QuoteChar.)
Public property ReadState Gets the state of the reader. (Overrides XmlReader.ReadState.)
Public property SchemaInfo Gets the schema information that has been assigned to the current node as a result of schema validation. (Inherited from XmlReader.)
Public property Settings Gets the XmlReaderSettings object used to create this XmlReader instance. (Inherited from XmlReader.)

In XNA Framework, this member is overridden by Settings.
Public property Value Gets the text value of the current node. (Overrides XmlReader.Value.)
Public property ValueType Gets The Common Language Runtime (CLR) type for the current node. (Inherited from XmlReader.)
Public property WhitespaceHandling Gets or sets a value that specifies how white space is handled.
Public property XmlLang Gets the current xml:lang scope. (Overrides XmlReader.XmlLang.)
Public property XmlResolver Sets the XmlResolver used for resolving DTD references.
Public property XmlSpace Gets the current xml:space scope. (Overrides XmlReader.XmlSpace.)
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft