DelegatingXmlDictionaryReader Class

Definition

Wraps a XmlDictionaryReader delegates to InnerReader.

public class DelegatingXmlDictionaryReader : System.Xml.XmlDictionaryReader, System.Xml.IXmlLineInfo
type DelegatingXmlDictionaryReader = class
    inherit XmlDictionaryReader
    interface IXmlLineInfo
Public Class DelegatingXmlDictionaryReader
Inherits XmlDictionaryReader
Implements IXmlLineInfo
Inheritance
DelegatingXmlDictionaryReader
Derived
Implements

Constructors

DelegatingXmlDictionaryReader()

Creates a new DelegatingXmlDictionaryReader.

Properties

AttributeCount

Gets the number of InnerReaders's attributes at the current reader position.

BaseURI

Gets the InnerReaders's base Uri of the current node.

CanReadBinaryContent

Gets a value indicating if the InnerReader can read binary content

CanReadValueChunk

Gets a value indicating if the InnerReader can read value chunk.

Depth

Gets the InnerReaders's current depth.

EOF

Gets a value indicating if the InnerReader is positioned at the end of the stream.

HasValue

Gets a value indicating if the InnerReader current node has a Value.

InnerReader

Gets or sets the Inner XmlDictionaryReader.

IsDefault

Gets a value indicating if the InnerReader's current node is an attribute that was generated from the default value defined in the DTD or Schema.

IsEmptyElement

Gets a value indicating if the InnerReader's current node is empty.

Item[Int32]

Gets the value of the InnerReaders's attribute with the specified index.

Item[String, String]

Gets the value of the InnerReaders's attribute with the specified LocalName and NamespaceURI.

Item[String]

Gets the value of the InnerReaders's attribute with the specified Name.

LineNumber

Gets the InnerReader's LineNumber

LinePosition

Gets the InnerReader's LinePosition.

LocalName

Gets the InnerReader's LocalName of the current node.

Name

Gets the InnerReader's Name of the current node.

NamespaceURI

Gets the InnerReader's NamespaceURI of the current node.

NameTable

Gets the InnerReader's XmlNameTable at the current node.

NodeType

Gets the type of the InnerReader's current node type.

Prefix

Gets the prefix of the InnerReader's current node.

ReadState

Gets the InnerReader's ReadState.

UseInnerReader

Gets the UseInnerReader

Value

Gets the Value of the InnerReader's current node.

ValueType

Gets the ValueType of InnerReader's current node.

XmlLang

Gets the InnerReader's XmlLang.

XmlSpace

Gets the InnerReader's XmlSpace.

Methods

Close()

Closes the reader and changes the System.Xml.XmlReader.ReadState to Closed.

GetAttribute(Int32)

Gets the value of the InnerReader's attribute at the given index.

GetAttribute(String, String)

Gets the value of the InnerReader's attribute with the given name and namespace Uri.

GetAttribute(String)

Gets the value of the InnerReader's attribute with the given name.

HasLineInfo()

Gets a value indicating if the InnerReader HasLineInfo

LookupNamespace(String)

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

MoveToAttribute(Int32)

Moves to the InnerReader's attribute with the specified index.

MoveToAttribute(String, String)

Moves to the InnerReader's attribute with the specified LocalName and NamespaceURI.

MoveToAttribute(String)

Moves to the InnerReader's attribute with the given local name.

MoveToElement()

Moves the InnerReader to a node of type Element.

MoveToFirstAttribute()

Moves the InnerReader to the first attribute.

MoveToNextAttribute()

Moves the InnerReader to the next attribute.

Read()

Reads the InnerReader's next node from the stream.

ReadAttributeValue()

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

ReadContentAsBase64(Byte[], Int32, Int32)

Reads the InnerReader's content and returns the Base64 decoded binary bytes.

ReadContentAsBinHex(Byte[], Int32, Int32)

Reads the InnerReader's content and returns the BinHex decoded binary bytes.

ReadContentAsUniqueId()

Reads the content and returns the contained string.

ReadValueChunk(Char[], Int32, Int32)

Reads large streams of text embedded in an XML document from the InnerReader.

ResolveEntity()

Resolves the InnerReader's EntityReference nodes.

Applies to