Mono Class Library: Overview

System.Xml.XmlTextReader: Members

The members of System.Xml.XmlTextReader are listed below.

See Also: Inherited members from System.Xml.XmlReader

Public Constructors

Constructs and initializes a new instance of the System.Xml.XmlTextReader class with the specified stream.
Constructs and initializes a new instance of the System.Xml.XmlTextReader class with the specified System.IO.TextReader.
Constructs and initializes a new instance of the System.Xml.XmlTextReader class with the specified file.
Constructs and initializes a new instance of the System.Xml.XmlTextReader class with the specified stream and name table.
Constructs and initializes a new instance of the System.Xml.XmlTextReader class with the specified System.IO.TextReader, and name table.
Constructs and initializes a new instance of the System.Xml.XmlTextReader class with the specified URL and stream.
Constructs and initializes a new instance of the System.Xml.XmlTextReader class with the specified URL and System.IO.TextReader.
Constructs and initializes a new instance of the System.Xml.XmlTextReader class with the specified file and name table.
Constructs and initializes a new instance of the System.Xml.XmlTextReader class with the specified stream containing an XML fragment.
Constructs and initializes a new instance of the System.Xml.XmlTextReader class with the specified URL, stream, and name table.
Constructs and initializes a new instance of the System.Xml.XmlTextReader class with the specified URL, System.IO.TextReader, and name table.
Constructs and initializes a new instance of the System.Xml.XmlTextReader class with the specified XML fragment.

Protected Constructors

Constructs a new instance of the System.Xml.XmlTextReader class.
Constructs and initializes a new instance of the System.Xml.XmlTextReader class with the specified name table.

Public Properties

[read-only]
override
AttributeCountint. Gets the number of attributes on the current node.
[read-only]
override
BaseURIstring. Gets the base Uniform Resource Identifier (URI) of the current node.
[read-only]
override
CanReadBinaryContentbool. Documentation for this section has not yet been entered.
[read-only]
override
CanReadValueChunkbool. Documentation for this section has not yet been entered.
[read-only]
override
CanResolveEntitybool. Documentation for this section has not yet been entered.
[read-only]
override
Depthint. Gets the depth of the current node in the XML document.
[read-only]
EncodingSystem.Text.Encoding. Gets the encoding of the document.
EntityHandlingEntityHandling. Documentation for this section has not yet been entered.
[read-only]
override
EOFbool. Gets a value indicating whether the XmlTextReader.ReadState is ReadState.EndOfFile, signifying the reader is positioned at the end of the stream.
[read-only]
override
HasValuebool. Gets a value indicating whether the current node can have an associated text value.
[read-only]
override
IsDefaultbool. 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]
override
IsEmptyElementbool. 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]
LineNumberint. Gets the current line number.
[read-only]
LinePositionint. Gets the current position in a line.
[read-only]
override
LocalNamestring. Gets the local name of the current node.
[read-only]
override
Namestring. Gets the qualified name of the current node.
Namespacesbool. Gets or sets a value indicating whether the reader supports namespaces.
[read-only]
override
NamespaceURIstring. Gets the namespace URI associated with the node on which the reader is positioned.
[read-only]
override
NameTableXmlNameTable. Gets the name table used by the current instance to store and look up element and attribute names, prefixes, and namespaces.
[read-only]
override
NodeTypeXmlNodeType. Gets the System.Xml.XmlNodeType of the current node.
Normalizationbool. Gets or sets a value indicating whether to normalize white space and attribute values.
[read-only]
override
Prefixstring. Gets the namespace prefix associated with the current node.
ProhibitDtdbool. Documentation for this section has not yet been entered.
[read-only]
override
QuoteCharchar. Gets the quotation mark character used to enclose the value of an attribute.
[read-only]
override
ReadStateReadState. Gets the read state of the reader.
[read-only]
override
SettingsXmlReaderSettings. Documentation for this section has not yet been entered.
[read-only]
override
Valuestring. Gets the text value of the current node.
WhitespaceHandlingWhitespaceHandling. Gets or sets a value that specifies the type of white space returned by the reader.
[read-only]
override
XmlLangstring. Gets the current xml:lang scope.
[write-only]
XmlResolverXmlResolver. Sets the System.Xml.XmlResolver used for resolving DTD references.
[read-only]
override
XmlSpaceXmlSpace. Gets the current xml:space scope.

Public Methods

override
Close()
Changes the XmlTextReader.ReadState to Closed.
override
GetAttribute(int) : string
Returns the value of the attribute with the specified index relative to the containing element.
override
GetAttribute(string) : string
Returns the value of the attribute with the specified qualified name.
override
GetAttribute(string, string) : string
Returns the value of the attribute with the specified local name and namespace URI.
GetNamespacesInScope(XmlNamespaceScope) : IDictionary<string, string>
Documentation for this section has not yet been entered.
GetRemainder() : System.IO.TextReader
Returns the remainder of the buffered XML.
HasLineInfo() : bool
Documentation for this section has not yet been entered.
override
LookupNamespace(string) : string
Resolves a namespace prefix in the scope of the current element.
override
MoveToAttribute(int)
Moves the position of the current instance to the attribute with the specified index relative to the containing element.
override
MoveToAttribute(string) : bool
Moves the position of the current instance to the attribute with the specified qualified name.
override
MoveToAttribute(string, string) : bool
Moves the position of the current instance to the attribute with the specified local name and namespace URI.
override
MoveToElement() : bool
Moves the position of the current instance to the node that contains the current Attribute node.
override
MoveToFirstAttribute() : bool
Moves the position of the current instance to the first attribute associated with the current node.
override
MoveToNextAttribute() : bool
Moves the position of the current instance to the next attribute associated with the current node.
override
Read() : bool
Moves the position of the current instance to the next node in the stream, exposing its properties.
override
ReadAttributeValue() : bool
Parses an attribute value into one or more Text and EntityReference nodes.
ReadBase64(byte[], int, int) : int
Reads and decodes the Base64 encoded contents of an element and stores the result in a byte buffer.
ReadBinHex(byte[], int, int) : int
Reads and decodes the BinHex encoded contents of an element and stores the result in a byte buffer.
ReadChars(char[], int, int) : int
Reads the text contents of an element into a character buffer.
override
ReadContentAsBase64(byte[], int, int) : int
Documentation for this section has not yet been entered.
override
ReadContentAsBinHex(byte[], int, int) : int
Documentation for this section has not yet been entered.
override
ReadElementContentAsBase64(byte[], int, int) : int
Documentation for this section has not yet been entered.
override
ReadElementContentAsBinHex(byte[], int, int) : int
Documentation for this section has not yet been entered.
override
ReadString() : string
Reads the contents of an element or a text node as a string.
ResetState()
Resets the XmlTextReader.ReadState to ReadState.Initial.
override
ResolveEntity()
Resolves the entity reference for EntityReference nodes.
override
Skip()
Documentation for this section has not yet been entered.

Explicitly Implemented Interface Members

System.Xml.IXmlNamespaceResolver.GetNamespacesInScopeDocumentation for this section has not yet been entered.
System.Xml.IXmlLineInfo.HasLineInfoDocumentation for this section has not yet been entered.
System.Xml.IXmlNamespaceResolver.LookupPrefixDocumentation for this section has not yet been entered.
[read-only]
Mono.Xml.IHasXmlParserContext.ParserContextXmlParserContext. Documentation for this section has not yet been entered.