Mono Class Library: Overview

System.Xml.XmlReader: Members

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

See Also: Inherited members from System.Object

Protected Constructors

Constructs a new instance of the System.Xml.XmlReader class.

Public Properties

[read-only]
abstract
AttributeCountint. Gets the number of attributes on the current node.
[read-only]
abstract
BaseURIstring. Gets the base Uniform Resource Identifier (URI) of the current node.
[read-only]
CanReadBinaryContentbool. Documentation for this section has not yet been entered.
[read-only]
CanReadValueChunkbool. Documentation for this section has not yet been entered.
[read-only]
CanResolveEntitybool. Gets a value indicating whether this reader can parse and resolve entities.
[read-only]
abstract
Depthint. Gets the depth of the current node in the XML document.
[read-only]
abstract
EOFbool. Gets a value indicating whether the XmlReader.ReadState is ReadState.EndOfFile, signifying 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]
abstract
HasValuebool. Gets a value indicating whether the current node can have an associated text value.
[read-only]
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]
abstract
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]
abstract
LocalNamestring. Gets the local name of the current node.
[read-only]
Namestring. Gets the qualified name of the current node.
[read-only]
abstract
NamespaceURIstring. Gets the namespace URI associated with the node on which the reader is positioned.
[read-only]
abstract
NameTableXmlNameTable. Gets the name table used by the current instance to store and look up element and attribute names, prefixes, and namespaces.
[read-only]
abstract
NodeTypeXmlNodeType. Gets the type of the current node.
[read-only]
abstract
Prefixstring. Gets the namespace prefix associated with the current node.
[read-only]
QuoteCharchar. Gets the quotation mark character used to enclose the value of an attribute.
[read-only]
abstract
ReadStateReadState. Gets the read state of the reader.
[read-only]
SchemaInfoSystem.Xml.Schema.IXmlSchemaInfo. Documentation for this section has not yet been entered.
[read-only]
SettingsXmlReaderSettings. Documentation for this section has not yet been entered.
[read-only]
abstract
Valuestring. Gets the text value of the current node.
[read-only]
ValueTypeType. Documentation for this section has not yet been entered.
[read-only]
XmlLangstring. Gets the current xml:lang scope.
[read-only]
XmlSpaceXmlSpace. Gets the current xml:space scope.

Public Methods

abstract
Close()
Changes the XmlReader.ReadState to ReadState.Closed.
static
Create(System.IO.Stream) : XmlReader
Documentation for this section has not yet been entered.
static
Create(System.IO.TextReader) : XmlReader
Documentation for this section has not yet been entered.
static
Create(string) : XmlReader
Documentation for this section has not yet been entered.
static
Create(System.IO.Stream, XmlReaderSettings) : XmlReader
Documentation for this section has not yet been entered.
static
Create(System.IO.TextReader, XmlReaderSettings) : XmlReader
Documentation for this section has not yet been entered.
static
Create(string, XmlReaderSettings) : XmlReader
Documentation for this section has not yet been entered.
static
Create(XmlReader, XmlReaderSettings) : XmlReader
Documentation for this section has not yet been entered.
static
Create(System.IO.Stream, XmlReaderSettings, string) : XmlReader
Documentation for this section has not yet been entered.
static
Create(System.IO.Stream, XmlReaderSettings, XmlParserContext) : XmlReader
Documentation for this section has not yet been entered.
static
Create(System.IO.TextReader, XmlReaderSettings, string) : XmlReader
Documentation for this section has not yet been entered.
static
Create(System.IO.TextReader, XmlReaderSettings, XmlParserContext) : XmlReader
Documentation for this section has not yet been entered.
static
Create(string, XmlReaderSettings, XmlParserContext) : XmlReader
Documentation for this section has not yet been entered.
abstract
GetAttribute(int) : string
Returns the value of the attribute with the specified index relative to the containing element.
abstract
GetAttribute(string) : string
Returns the value of the attribute with the specified qualified name.
abstract
GetAttribute(string, string) : string
Returns the value of the attribute with the specified local name and namespace URI.
static
IsName(string) : bool
Determines whether the specified string is a valid XML name.
static
IsNameToken(string) : bool
Determines whether the specified string is a valid XML name token (Nmtoken).
IsStartElement() : bool
Determines if a node containing content is an Element node.
IsStartElement(string) : bool
Determines if a node containing content is an Element node with the specified qualified name.
IsStartElement(string, string) : bool
Determines if a node containing content is an Element node with the specified local name and namespace URI.
abstract
LookupNamespace(string) : string
Resolves a namespace prefix in the scope of the current element.
MoveToAttribute(int)
Moves the position of the current instance to the attribute with the specified index relative to the containing element.
abstract
MoveToAttribute(string) : bool
Moves the position of the current instance to the attribute with the specified qualified name.
abstract
MoveToAttribute(string, string) : bool
Moves the position of the current instance to the attribute with the specified local name and namespace URI.
MoveToContent() : XmlNodeType
Determines whether the current node can contain content and, if not, moves the position of the current instance to the next content node or the end of the input stream.
abstract
MoveToElement() : bool
Moves the position of the current instance to the node that contains the current Attribute node.
abstract
MoveToFirstAttribute() : bool
Moves the position of the current instance to the first attribute associated with the current node.
abstract
MoveToNextAttribute() : bool
Moves the position of the current instance to the next attribute associated with the current node.
abstract
Read() : bool
Moves the position of the current instance to the next node in the stream, exposing its properties.
abstract
ReadAttributeValue() : bool
Parses an attribute value into one or more Text, EntityReference, and EndEntity nodes.
ReadContentAs(Type, IXmlNamespaceResolver) : object
Documentation for this section has not yet been entered.
ReadContentAsBase64(byte[], int, int) : int
Documentation for this section has not yet been entered.
ReadContentAsBinHex(byte[], int, int) : int
Documentation for this section has not yet been entered.
ReadContentAsBoolean() : bool
Documentation for this section has not yet been entered.
ReadContentAsDateTime() : DateTime
Documentation for this section has not yet been entered.
ReadContentAsDecimal() : decimal
Documentation for this section has not yet been entered.
ReadContentAsDouble() : double
Documentation for this section has not yet been entered.
ReadContentAsFloat() : float
Documentation for this section has not yet been entered.
ReadContentAsInt() : int
Documentation for this section has not yet been entered.
ReadContentAsLong() : long
Documentation for this section has not yet been entered.
ReadContentAsObject() : object
Documentation for this section has not yet been entered.
ReadContentAsString() : string
Documentation for this section has not yet been entered.
ReadElementContentAs(Type, IXmlNamespaceResolver) : object
Documentation for this section has not yet been entered.
ReadElementContentAs(Type, IXmlNamespaceResolver, string, string) : object
Documentation for this section has not yet been entered.
ReadElementContentAsBase64(byte[], int, int) : int
Documentation for this section has not yet been entered.
ReadElementContentAsBinHex(byte[], int, int) : int
Documentation for this section has not yet been entered.
ReadElementContentAsBoolean() : bool
Documentation for this section has not yet been entered.
ReadElementContentAsBoolean(string, string) : bool
Documentation for this section has not yet been entered.
ReadElementContentAsDateTime() : DateTime
Documentation for this section has not yet been entered.
ReadElementContentAsDateTime(string, string) : DateTime
Documentation for this section has not yet been entered.
ReadElementContentAsDecimal() : decimal
Documentation for this section has not yet been entered.
ReadElementContentAsDecimal(string, string) : decimal
Documentation for this section has not yet been entered.
ReadElementContentAsDouble() : double
Documentation for this section has not yet been entered.
ReadElementContentAsDouble(string, string) : double
Documentation for this section has not yet been entered.
ReadElementContentAsFloat() : float
Documentation for this section has not yet been entered.
ReadElementContentAsFloat(string, string) : float
Documentation for this section has not yet been entered.
ReadElementContentAsInt() : int
Documentation for this section has not yet been entered.
ReadElementContentAsInt(string, string) : int
Documentation for this section has not yet been entered.
ReadElementContentAsLong() : long
Documentation for this section has not yet been entered.
ReadElementContentAsLong(string, string) : long
Documentation for this section has not yet been entered.
ReadElementContentAsObject() : object
Documentation for this section has not yet been entered.
ReadElementContentAsObject(string, string) : object
Documentation for this section has not yet been entered.
ReadElementContentAsString() : string
Documentation for this section has not yet been entered.
ReadElementContentAsString(string, string) : string
Documentation for this section has not yet been entered.
ReadElementString() : string
Reads the contents of a text-only element.
ReadElementString(string) : string
Reads the contents of a text-only element with the specified qualified name.
ReadElementString(string, string) : string
Reads the contents of a text-only element with the specified local name and namespace URI.
ReadEndElement()
Reads an EndElement node and advances the reader to the next node.
ReadInnerXml() : string
Reads the contents of the current node, including child nodes and markup.
ReadOuterXml() : string
Reads the current node and its contents, including child nodes and markup.
ReadStartElement()
Reads an Element node and advances the reader to the next node.
ReadStartElement(string)
Reads an Element node with the specified qualified name and advances the reader to the next node.
ReadStartElement(string, string)
Reads an Element node with the specified local name and namespace URI and advances the reader to the next node.
ReadString() : string
Reads the contents of an element or text node as a string.
ReadSubtree() : XmlReader
Documentation for this section has not yet been entered.
ReadToDescendant(string) : bool
Documentation for this section has not yet been entered.
ReadToDescendant(string, string) : bool
Documentation for this section has not yet been entered.
ReadToFollowing(string) : bool
Documentation for this section has not yet been entered.
ReadToFollowing(string, string) : bool
Documentation for this section has not yet been entered.
ReadToNextSibling(string) : bool
Documentation for this section has not yet been entered.
ReadToNextSibling(string, string) : bool
Documentation for this section has not yet been entered.
ReadValueChunk(char[], int, int) : int
Documentation for this section has not yet been entered.
abstract
ResolveEntity()
Resolves the entity reference for EntityReference nodes.
Skip()
Skips over the current element and moves the position of the current instance to the next node in the stream.

Protected Methods

Dispose(bool)
Documentation for this section has not yet been entered.

Explicitly Implemented Interface Members

IDisposable.DisposeDocumentation for this section has not yet been entered.