Export (0) Print
Expand All

XmlReader Members

XmlReader overview

Public Properties

public propertyAttributeCount

Supported by the .NET Compact Framework.

When overridden in a derived class, gets the number of attributes on the current node.
public propertyBaseURI

Supported by the .NET Compact Framework.

When overridden in a derived class, gets the base URI of the current node.
public propertyCanResolveEntity

Supported by the .NET Compact Framework.

Gets a value indicating whether this reader can parse and resolve entities.
public propertyDepth

Supported by the .NET Compact Framework.

When overridden in a derived class, gets the depth of the current node in the XML document.
public propertyEOF

Supported by the .NET Compact Framework.

When overridden in a derived class, gets a value indicating whether the reader is positioned at the end of the stream.
public propertyHasAttributes

Supported by the .NET Compact Framework.

Gets a value indicating whether the current node has any attributes.
public propertyHasValue

Supported by the .NET Compact Framework.

When overridden in a derived class, gets a value indicating whether the current node can have a Value.
public propertyIsDefault

Supported by the .NET Compact Framework.

When overridden in a derived class, gets a value indicating whether the current node is an attribute that was generated from the default value defined in the DTD or schema.
public propertyIsEmptyElement

Supported by the .NET Compact Framework.

When overridden in a derived class, gets a value indicating whether the current node is an empty element (for example, <MyElement/>).
public propertyItem Overloaded. When overridden in a derived class, gets the value of the attribute.

In C#, this property is the indexer for the XmlReader class.

public propertyLocalName

Supported by the .NET Compact Framework.

When overridden in a derived class, gets the local name of the current node.
public propertyName

Supported by the .NET Compact Framework.

When overridden in a derived class, gets the qualified name of the current node.
public propertyNamespaceURI

Supported by the .NET Compact Framework.

When overridden in a derived class, gets the namespace URI (as defined in the W3C Namespace specification) of the node on which the reader is positioned.
public propertyNameTable

Supported by the .NET Compact Framework.

When overridden in a derived class, gets the XmlNameTable associated with this implementation.
public propertyNodeType

Supported by the .NET Compact Framework.

When overridden in a derived class, gets the type of the current node.
public propertyPrefix

Supported by the .NET Compact Framework.

When overridden in a derived class, gets the namespace prefix associated with the current node.
public propertyQuoteChar

Supported by the .NET Compact Framework.

When overridden in a derived class, gets the quotation mark character used to enclose the value of an attribute node.
public propertyReadState

Supported by the .NET Compact Framework.

When overridden in a derived class, gets the state of the reader.
public propertyValue

Supported by the .NET Compact Framework.

When overridden in a derived class, gets the text value of the current node.
public propertyXmlLang

Supported by the .NET Compact Framework.

When overridden in a derived class, gets the current xml:lang scope.
public propertyXmlSpace

Supported by the .NET Compact Framework.

When overridden in a derived class, gets the current xml:space scope.

Public Methods

public methodClose

Supported by the .NET Compact Framework.

When overridden in a derived class, changes the ReadState to Closed.
public methodEquals (inherited from Object)

Supported by the .NET Compact Framework.

Overloaded. Determines whether two Object instances are equal.
public methodGetAttribute

Supported by the .NET Compact Framework.

Overloaded. When overridden in a derived class, gets the value of an attribute.
public methodGetHashCode (inherited from Object)

Supported by the .NET Compact Framework.

Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
public methodGetType (inherited from Object)

Supported by the .NET Compact Framework.

Gets the Type of the current instance.
public methodstatic (Shared in Visual Basic)IsName

Supported by the .NET Compact Framework.

Gets a value indicating whether the string argument is a valid XML name.
public methodstatic (Shared in Visual Basic)IsNameToken

Supported by the .NET Compact Framework.

Gets a value indicating whether or not the string argument is a valid XML name token.
public methodIsStartElement

Supported by the .NET Compact Framework.

Overloaded. Tests if the current content node is a start tag.
public methodLookupNamespace

Supported by the .NET Compact Framework.

When overridden in a derived class, resolves a namespace prefix in the current element's scope.
public methodMoveToAttribute

Supported by the .NET Compact Framework.

Overloaded. When overridden in a derived class, moves to the specified attribute.
public methodMoveToContent

Supported by the .NET Compact Framework.

Checks whether the current node is a content (non-white space text, CDATA, Element, EndElement, EntityReference, or EndEntity) node. If the node is not a content node, the reader skips ahead to the next content node or end of file. It skips over nodes of the following type: ProcessingInstruction, DocumentType, Comment, Whitespace, or SignificantWhitespace.
public methodMoveToElement

Supported by the .NET Compact Framework.

When overridden in a derived class, moves to the element that contains the current attribute node.
public methodMoveToFirstAttribute

Supported by the .NET Compact Framework.

When overridden in a derived class, moves to the first attribute.
public methodMoveToNextAttribute

Supported by the .NET Compact Framework.

When overridden in a derived class, moves to the next attribute.
public methodRead

Supported by the .NET Compact Framework.

When overridden in a derived class, reads the next node from the stream.
public methodReadAttributeValue

Supported by the .NET Compact Framework.

When overridden in a derived class, parses the attribute value into one or more Text, EntityReference, or EndEntity nodes.
public methodReadElementString

Supported by the .NET Compact Framework.

Overloaded. This is a helper method for reading simple text-only elements.
public methodReadEndElement

Supported by the .NET Compact Framework.

Checks that the current content node is an end tag and advances the reader to the next node.
public methodReadInnerXml

Supported by the .NET Compact Framework.

When overridden in a derived class, reads all the content, including markup, as a string.
public methodReadOuterXml

Supported by the .NET Compact Framework.

When overridden in a derived class, reads the content, including markup, representing this node and all its children.
public methodReadStartElement

Supported by the .NET Compact Framework.

Overloaded. Checks that the current node is an element and advances the reader to the next node.
public methodReadString

Supported by the .NET Compact Framework.

When overridden in a derived class, reads the contents of an element or text node as a string.
public methodResolveEntity

Supported by the .NET Compact Framework.

When overridden in a derived class, resolves the entity reference for EntityReference nodes.
public methodSkip

Supported by the .NET Compact Framework.

Skips the children of the current node.
public methodToString (inherited from Object)

Supported by the .NET Compact Framework.

Returns a String that represents the current Object.

Protected Constructors

protected constructorXmlReader Constructor

Supported by the .NET Compact Framework.

Initializes a new instance of the XmlReader class.

Protected Methods

protected methodFinalize (inherited from Object)

Supported by the .NET Compact Framework.

Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodMemberwiseClone (inherited from Object)

Supported by the .NET Compact Framework.

Creates a shallow copy of the current Object.

See Also

XmlReader Class | System.Xml Namespace

Show:
© 2014 Microsoft