System.Xml.XmlTextReader: Method Members

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

See Also: Inherited members from System.Xml.XmlReader

Public Methods

override
Close()

Changes the XmlReader.ReadState to Closed.

override
GetAttribute(int) : string

Gets the value of the attribute with the specified index.

override
GetAttribute(string) : string

Gets the value of the attribute with the specified name.

override
GetAttribute(string, string) : string

Gets the value of the attribute with the specified local name and namespace URI.

GetNamespacesInScope(XmlNamespaceScope) : IDictionary<string, string>

Gets a collection that contains all namespaces currently in-scope.

GetRemainder() : System.IO.TextReader

Gets the remainder of the buffered XML.

HasLineInfo() : bool

Gets a value indicating whether the class can return line information.

override
LookupNamespace(string) : string

Resolves a namespace prefix in the current element's scope.

override
MoveToAttribute(int)

Moves to the attribute with the specified index.

override
MoveToAttribute(string) : bool

Moves to the attribute with the specified name.

override
MoveToAttribute(string, string) : bool

Moves to the attribute with the specified local name and namespace URI.

override
MoveToElement() : bool

Moves to the element that contains the current attribute node.

override
MoveToFirstAttribute() : bool

Moves to the first attribute.

override
MoveToNextAttribute() : bool

Moves to the next attribute.

override
Read() : bool

Reads the next node from the stream.

override
ReadAttributeValue() : bool

Parses the attribute value into one or more Text, EntityReference, or EndEntity nodes.

ReadBase64(byte[], int, int) : int

Decodes Base64 and returns the decoded binary bytes.

ReadBinHex(byte[], int, int) : int

Decodes BinHex and returns the decoded binary bytes.

ReadChars(char[], int, int) : int

Reads the text contents of an element into a character buffer. This method is designed to read large streams of embedded text by calling it successively.

override
ReadContentAsBase64(byte[], int, int) : int

Reads the content and returns the Base64 decoded binary bytes.

override
ReadContentAsBinHex(byte[], int, int) : int

Reads the content and returns the BinHex decoded binary bytes.

override
ReadElementContentAsBase64(byte[], int, int) : int

Reads the element and decodes the Base64 content.

override
ReadElementContentAsBinHex(byte[], int, int) : int

Reads the element and decodes the BinHex content.

override
ReadString() : string

Reads the contents of an element or a text node as a string.

ResetState()

Resets the state of the reader to ReadState.Initial.

override
ResolveEntity()

Resolves the entity reference for EntityReference nodes.

override
Skip()

Skips the children of the current node.