XdmReader ClassXdmReader ClassXdmReader Class

Represents a reader that provides fast, noncached, forward-only access to XML data.

Inheritance Hierarchy

The XdmReaderXdmReaderXdmReader type exposes the following members.

Properties

 PropertyDescription
Public propertyAttributeCountAttributeCountAttributeCount Gets the number of attributes on the current node. (Overrides XmlReader.AttributeCountXmlReader.AttributeCountXmlReader::AttributeCount)
Public propertyAttributeTypeAttributeTypeAttributeType When positioned on an attribute node, gets the
Public propertyBaseURIBaseURIBaseURI Gets the base URI of the current node. (Overrides XmlReader.BaseURIXmlReader.BaseURIXmlReader::BaseURI)
Public propertyXmlReader.CanReadBinaryContentXmlReader.CanReadBinaryContentXmlReader::CanReadBinaryContentGets a value indicating whether the XmlReaderXmlReaderXmlReader implements the binary content read methods.(Inherited from System.Xml.XmlReaderSystem.Xml.XmlReaderSystem.Xml::XmlReader)
Public propertyXmlReader.CanReadValueChunkXmlReader.CanReadValueChunkXmlReader::CanReadValueChunkGets a value indicating whether the XmlReaderXmlReaderXmlReader implements the ReadValueChunkReadValueChunkReadValueChunk method.(Inherited from System.Xml.XmlReaderSystem.Xml.XmlReaderSystem.Xml::XmlReader)
Public propertyCanResolveEntityCanResolveEntityCanResolveEntity Gets a value indicating whether this reader can parse and resolve entities. (Overrides XmlReader.CanResolveEntityXmlReader.CanResolveEntityXmlReader::CanResolveEntity)
Public propertyDepthDepthDepth Gets the depth of the current node in the XML document. (Overrides XmlReader.DepthXmlReader.DepthXmlReader::Depth)
Public propertyEOFEOFEOF Gets a value indicating whether the reader is positioned at the end of the stream. (Overrides XmlReader.EOFXmlReader.EOFXmlReader::EOF)
Public propertyXmlReader.HasAttributesXmlReader.HasAttributesXmlReader::HasAttributesGets a value indicating whether the current node has any attributes.(Inherited from System.Xml.XmlReaderSystem.Xml.XmlReaderSystem.Xml::XmlReader)
Public propertyHasValueHasValueHasValue Gets a value indicating whether the current node can have a ValueValueValue. (Overrides XmlReader.HasValueXmlReader.HasValueXmlReader::HasValue)
Public propertyIsDefaultIsDefaultIsDefault 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. (Overrides XmlReader.IsDefaultXmlReader.IsDefaultXmlReader::IsDefault)
Public propertyIsEmptyElementIsEmptyElementIsEmptyElement Gets a value indicating whether the current node is an empty element (for example, <MyElement/>). (Overrides XmlReader.IsEmptyElementXmlReader.IsEmptyElementXmlReader::IsEmptyElement)
Public propertyIsIdIsIdIsId Gets a value indicating whether the current node is an XML ID.
Public propertyIsIdrefsIsIdrefsIsIdrefs Gets a value indicating whether the current node is an XML IDREF or IDREFS.
Public propertyIsNilledIsNilledIsNilled Gets a value indicating whether the current node is nilled.
Public propertyXmlReader.ItemXmlReader.ItemXmlReader::ItemWhen overridden in a derived class, gets the value of the attribute with the specified index.(Inherited from System.Xml.XmlReaderSystem.Xml.XmlReaderSystem.Xml::XmlReader)
Public propertyXmlReader.ItemXmlReader.ItemXmlReader::ItemWhen overridden in a derived class, gets the value of the attribute with the specified NameNameName.(Inherited from System.Xml.XmlReaderSystem.Xml.XmlReaderSystem.Xml::XmlReader)
Public propertyXmlReader.ItemXmlReader.ItemXmlReader::ItemWhen overridden in a derived class, gets the value of the attribute with the specified LocalNameLocalNameLocalName and NamespaceURINamespaceURINamespaceURI.(Inherited from System.Xml.XmlReaderSystem.Xml.XmlReaderSystem.Xml::XmlReader)
Public propertyLineNumberLineNumberLineNumber Gets the current line number.
Public propertyLinePositionLinePositionLinePosition Gets the current line position.
Public propertyLocalNameLocalNameLocalName Gets the local name of the current node. (Overrides XmlReader.LocalNameXmlReader.LocalNameXmlReader::LocalName)
Public propertyXmlReader.NameXmlReader.NameXmlReader::NameWhen overridden in a derived class, gets the qualified name of the current node.(Inherited from System.Xml.XmlReaderSystem.Xml.XmlReaderSystem.Xml::XmlReader)
Public propertyNameTableNameTableNameTable Gets the XmlNameTableXmlNameTableXmlNameTable associated with this implementation. (Overrides XmlReader.NameTableXmlReader.NameTableXmlReader::NameTable)
Public propertyNamespaceURINamespaceURINamespaceURI Gets the namespace URI (as defined in the W3C Namespace specification) of the node on which the reader is positioned. (Overrides XmlReader.NamespaceURIXmlReader.NamespaceURIXmlReader::NamespaceURI)
Public propertyNodeTypeNodeTypeNodeType Gets the type of the current node. (Overrides XmlReader.NodeTypeXmlReader.NodeTypeXmlReader::NodeType)
Public propertyNotationsNotationsNotations Returns the names of the declared notations.
Public propertyPrefixPrefixPrefix Gets the namespace prefix associated with the current node. (Overrides XmlReader.PrefixXmlReader.PrefixXmlReader::Prefix)
Public propertyQuoteCharQuoteCharQuoteChar When overridden in a derived class, gets the quotation mark character used to enclose the value of an attribute node. (Overrides XmlReader.QuoteCharXmlReader.QuoteCharXmlReader::QuoteChar)
Public propertyReadStateReadStateReadState Gets the state of the reader. (Overrides XmlReader.ReadStateXmlReader.ReadStateXmlReader::ReadState)
Public propertyXmlReader.SchemaInfoXmlReader.SchemaInfoXmlReader::SchemaInfoGets the schema information that has been assigned to the current node as a result of schema validation.(Inherited from System.Xml.XmlReaderSystem.Xml.XmlReaderSystem.Xml::XmlReader)
Public propertySettingsSettingsSettings Gets the XdmReaderSettingsXdmReaderSettingsXdmReaderSettings object used to create this XdmReaderXdmReaderXdmReader instance.
Public propertyUnparsedEntitiesUnparsedEntitiesUnparsedEntities Returns the names of the unparsed external entities.
Public propertyValueValueValue Gets the text value of the current node. (Overrides XmlReader.ValueXmlReader.ValueXmlReader::Value)
Public propertyXmlReader.ValueTypeXmlReader.ValueTypeXmlReader::ValueTypeGets The Common Language Runtime (CLR) type for the current node.(Inherited from System.Xml.XmlReaderSystem.Xml.XmlReaderSystem.Xml::XmlReader)
Public propertyXmlLangXmlLangXmlLang When overridden in a derived class, gets the current xml:lang scope. (Overrides XmlReader.XmlLangXmlReader.XmlLangXmlReader::XmlLang)
Public propertyXmlSpaceXmlSpaceXmlSpace When overridden in a derived class, gets the current xml:space scope. (Overrides XmlReader.XmlSpaceXmlReader.XmlSpaceXmlReader::XmlSpace)

Top

Methods

 MethodDescription
Public methodCloseCloseClose Changes the ReadStateReadStateReadState to Closed. (Overrides XmlReader.CloseXmlReader.CloseXmlReader::Close)
Public methodstaticCreate (Stream)Create (Stream)Create (Stream^) Creates an XdmReaderXdmReaderXdmReader instance using the specified stream.
Public methodstaticCreate (Stream, XdmReaderSettings)Create (Stream, XdmReaderSettings)Create (Stream^, XdmReaderSettings^) Creates an XdmReaderXdmReaderXdmReader instance using the specified stream and XdmReaderSettingsXdmReaderSettingsXdmReaderSettings object.
Public methodstaticCreate (Stream, XdmReaderSettings, string)Create (Stream, XdmReaderSettings, String)Create (Stream^, XdmReaderSettings^, String^) Creates an XdmReaderXdmReaderXdmReader instance using the specified stream, base URI and XdmReaderSettingsXdmReaderSettingsXdmReaderSettings object.
Public methodstaticCreate (Stream, XdmReaderSettings, XmlParserContext)Create (Stream, XdmReaderSettings, XmlParserContext)Create (Stream^, XdmReaderSettings^, XmlParserContext^) Creates an XdmReaderXdmReaderXdmReader instance using the specified stream and XdmReaderSettingsXdmReaderSettingsXdmReaderSettings object.
Public methodstaticCreate (TextReader)Create (TextReader)Create (TextReader^) Creates an XdmReaderXdmReaderXdmReader instance using the specified TextWriterTextWriterTextWriter.
Public methodstaticCreate (TextReader, XdmReaderSettings)Create (TextReader, XdmReaderSettings)Create (TextReader^, XdmReaderSettings^) Creates an XdmReaderXdmReaderXdmReader instance using the specified TextReaderTextReaderTextReader and XdmReaderSettingsXdmReaderSettingsXdmReaderSettings object.
Public methodstaticCreate (TextReader, XdmReaderSettings, string)Create (TextReader, XdmReaderSettings, String)Create (TextReader^, XdmReaderSettings^, String^) Creates an XdmReaderXdmReaderXdmReader instance using the specified TextReaderTextReaderTextReader and XdmReaderSettingsXdmReaderSettingsXdmReaderSettings object.
Public methodstaticCreate (TextReader, XdmReaderSettings, XmlParserContext)Create (TextReader, XdmReaderSettings, XmlParserContext)Create (TextReader^, XdmReaderSettings^, XmlParserContext^) Creates an XdmReaderXdmReaderXdmReader instance using the specified TextReaderTextReaderTextReader and XdmReaderSettingsXdmReaderSettingsXdmReaderSettings object.
Public methodstaticCreate (string)Create (String)Create (String^) Creates an XdmReaderXdmReaderXdmReader instance using the specified URI.
Public methodstaticCreate (string, XdmReaderSettings)Create (String, XdmReaderSettings)Create (String^, XdmReaderSettings^) Creates an XdmReaderXdmReaderXdmReader instance using the specified URI and XdmReaderSettingsXdmReaderSettingsXdmReaderSettings object.
Public methodstaticCreate (string, XdmReaderSettings, XmlParserContext)Create (String, XdmReaderSettings, XmlParserContext)Create (String^, XdmReaderSettings^, XmlParserContext^) Creates an XdmReaderXdmReaderXdmReader instance using the specified URI, XdmReaderSettingsXdmReaderSettingsXdmReaderSettings and XmlParserContextXmlParserContextXmlParserContext objects.
Public methodstaticCreate (Uri)Create (Uri)Create (Uri^) Creates an XdmReaderXdmReaderXdmReader instance using the specified URI.
Public methodstaticCreate (Uri, XdmReaderSettings)Create (Uri, XdmReaderSettings)Create (Uri^, XdmReaderSettings^) Creates an XdmReaderXdmReaderXdmReader instance using the specified URI and XdmReaderSettingsXdmReaderSettingsXdmReaderSettings object.
Public methodstaticCreate (Uri, XdmReaderSettings, XmlParserContext)Create (Uri, XdmReaderSettings, XmlParserContext)Create (Uri^, XdmReaderSettings^, XmlParserContext^) Creates an XdmReaderXdmReaderXdmReader instance using the specified URI and XdmReaderSettingsXdmReaderSettingsXdmReaderSettings and XmlParserContextXmlParserContextXmlParserContext objects.
Public methodXmlReader.DisposeXmlReader.DisposeXmlReader::DisposeReleases all resources used by the current instance of the XmlReaderXmlReaderXmlReader class.(Inherited from System.Xml.XmlReaderSystem.Xml.XmlReaderSystem.Xml::XmlReader)
Protected methodXmlReader.DisposeXmlReader.DisposeXmlReader::DisposeReleases the unmanaged resources used by the XmlReaderXmlReaderXmlReader and optionally releases the managed resources.(Inherited from System.Xml.XmlReaderSystem.Xml.XmlReaderSystem.Xml::XmlReader)
Public methodObject.EqualsObject.EqualsObject::EqualsDetermines whether the specified object is equal to the current object.(Inherited from System.ObjectSystem.ObjectSystem::Object)
Protected methodObject.FinalizeObject.FinalizeObject::FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from System.ObjectSystem.ObjectSystem::Object)
Public methodGetAttribute (int)GetAttribute (Integer)GetAttribute (int) Gets the value of the attribute with the specified index. (Overrides XmlReader.GetAttributeXmlReader.GetAttributeXmlReader::GetAttribute)
Public methodGetAttribute (string)GetAttribute (String)GetAttribute (String^) Gets the value of the attribute with the specified NameNameName. (Overrides XmlReader.GetAttributeXmlReader.GetAttributeXmlReader::GetAttribute)
Public methodGetAttribute (string, string)GetAttribute (String, String)GetAttribute (String^, String^) Gets the value of the attribute with the specified LocalNameLocalNameLocalName and NamespaceURINamespaceURINamespaceURI. (Overrides XmlReader.GetAttributeXmlReader.GetAttributeXmlReader::GetAttribute)
Public methodObject.GetHashCodeObject.GetHashCodeObject::GetHashCodeServes as the default hash function. (Inherited from System.ObjectSystem.ObjectSystem::Object)
Public methodGetNamespacesInScopeGetNamespacesInScopeGetNamespacesInScope Gets a collection of defined prefix-namespace mappings that are currently in scope.
Public methodObject.GetTypeObject.GetTypeObject::GetTypeGets the TypeTypeType of the current instance.(Inherited from System.ObjectSystem.ObjectSystem::Object)
Public methodXmlReader.GetValueAsyncXmlReader.GetValueAsyncXmlReader::GetValueAsyncAsynchronously gets the value of the current node.(Inherited from System.Xml.XmlReaderSystem.Xml.XmlReaderSystem.Xml::XmlReader)
Public methodHasLineInfoHasLineInfoHasLineInfo Gets a value indicating whether the class can return line information.
Public methodXmlReader.IsStartElementXmlReader.IsStartElementXmlReader::IsStartElementCalls MoveToContentMoveToContentMoveToContent and tests if the current content node is a start tag or empty element tag.(Inherited from System.Xml.XmlReaderSystem.Xml.XmlReaderSystem.Xml::XmlReader)
Public methodXmlReader.IsStartElementXmlReader.IsStartElementXmlReader::IsStartElementCalls MoveToContentMoveToContentMoveToContent and tests if the current content node is a start tag or empty element tag and if the NameNameName property of the element found matches the given argument.(Inherited from System.Xml.XmlReaderSystem.Xml.XmlReaderSystem.Xml::XmlReader)
Public methodXmlReader.IsStartElementXmlReader.IsStartElementXmlReader::IsStartElementCalls MoveToContentMoveToContentMoveToContent and tests if the current content node is a start tag or empty element tag and if the LocalNameLocalNameLocalName and NamespaceURINamespaceURINamespaceURI properties of the element found match the given strings.(Inherited from System.Xml.XmlReaderSystem.Xml.XmlReaderSystem.Xml::XmlReader)
Public methodLookupNamespaceLookupNamespaceLookupNamespace When overridden in a derived class, resolves a namespace prefix in the current element's scope. (Overrides XmlReader.LookupNamespaceXmlReader.LookupNamespaceXmlReader::LookupNamespace)
Public methodLookupPrefixLookupPrefixLookupPrefix Gets the prefix that is mapped to the specified namespace URI.
Protected methodObject.MemberwiseCloneObject.MemberwiseCloneObject::MemberwiseCloneCreates a shallow copy of the current objectObjectobject.(Inherited from System.ObjectSystem.ObjectSystem::Object)
Public methodMoveToAttribute (string)MoveToAttribute (String)MoveToAttribute (String^) When overridden in a derived class, moves to the attribute with the specified NameNameName. (Overrides XmlReader.MoveToAttributeXmlReader.MoveToAttributeXmlReader::MoveToAttribute)
Public methodMoveToAttribute (string, string)MoveToAttribute (String, String)MoveToAttribute (String^, String^) When overridden in a derived class, moves to the attribute with the specified LocalNameLocalNameLocalName and NamespaceURINamespaceURINamespaceURI. (Overrides XmlReader.MoveToAttributeXmlReader.MoveToAttributeXmlReader::MoveToAttribute)
Public methodXmlReader.MoveToAttributeXmlReader.MoveToAttributeXmlReader::MoveToAttributeWhen overridden in a derived class, moves to the attribute with the specified index.(Inherited from System.Xml.XmlReaderSystem.Xml.XmlReaderSystem.Xml::XmlReader)
Public methodXmlReader.MoveToContentXmlReader.MoveToContentXmlReader::MoveToContentChecks 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.(Inherited from System.Xml.XmlReaderSystem.Xml.XmlReaderSystem.Xml::XmlReader)
Public methodXmlReader.MoveToContentAsyncXmlReader.MoveToContentAsyncXmlReader::MoveToContentAsyncAsynchronously checks whether the current node is a content node. If the node is not a content node, the reader skips ahead to the next content node or end of file.(Inherited from System.Xml.XmlReaderSystem.Xml.XmlReaderSystem.Xml::XmlReader)
Public methodMoveToElementMoveToElementMoveToElement When overridden in a derived class, moves to the element that contains the current attribute node. (Overrides XmlReader.MoveToElementXmlReader.MoveToElementXmlReader::MoveToElement)
Public methodMoveToFirstAttributeMoveToFirstAttributeMoveToFirstAttribute When overridden in a derived class, moves to the first attribute. (Overrides XmlReader.MoveToFirstAttributeXmlReader.MoveToFirstAttributeXmlReader::MoveToFirstAttribute)
Public methodMoveToNextAttributeMoveToNextAttributeMoveToNextAttribute When overridden in a derived class, moves to the next attribute. (Overrides XmlReader.MoveToNextAttributeXmlReader.MoveToNextAttributeXmlReader::MoveToNextAttribute)
Public methodNotationPublicIdNotationPublicIdNotationPublicId Returns the public identifier of the specified notation.
Public methodNotationSystemIdNotationSystemIdNotationSystemId Returns the system identifier of the specified unparsed external entity.
Public methodReadReadRead Rreads the next node from the stream. (Overrides XmlReader.ReadXmlReader.ReadXmlReader::Read)
Public methodXmlReader.ReadAsyncXmlReader.ReadAsyncXmlReader::ReadAsyncAsynchronously reads the next node from the stream.(Inherited from System.Xml.XmlReaderSystem.Xml.XmlReaderSystem.Xml::XmlReader)
Public methodReadAttributeValueReadAttributeValueReadAttributeValue When overridden in a derived class, parses the attribute value into one or more Text, EntityReference, or EndEntity nodes. (Overrides XmlReader.ReadAttributeValueXmlReader.ReadAttributeValueXmlReader::ReadAttributeValue)
Public methodXmlReader.ReadContentAsXmlReader.ReadContentAsXmlReader::ReadContentAsReads the content as an object of the type specified.(Inherited from System.Xml.XmlReaderSystem.Xml.XmlReaderSystem.Xml::XmlReader)
Public methodXmlReader.ReadContentAsAsyncXmlReader.ReadContentAsAsyncXmlReader::ReadContentAsAsync(Inherited from System.Xml.XmlReaderSystem.Xml.XmlReaderSystem.Xml::XmlReader)
Public methodXmlReader.ReadContentAsBase64XmlReader.ReadContentAsBase64XmlReader::ReadContentAsBase64Reads the content and returns the Base64 decoded binary bytes.(Inherited from System.Xml.XmlReaderSystem.Xml.XmlReaderSystem.Xml::XmlReader)
Public methodXmlReader.ReadContentAsBase64AsyncXmlReader.ReadContentAsBase64AsyncXmlReader::ReadContentAsBase64Async(Inherited from System.Xml.XmlReaderSystem.Xml.XmlReaderSystem.Xml::XmlReader)
Public methodXmlReader.ReadContentAsBinHexXmlReader.ReadContentAsBinHexXmlReader::ReadContentAsBinHexReads the content and returns the BinHex decoded binary bytes.(Inherited from System.Xml.XmlReaderSystem.Xml.XmlReaderSystem.Xml::XmlReader)
Public methodXmlReader.ReadContentAsBinHexAsyncXmlReader.ReadContentAsBinHexAsyncXmlReader::ReadContentAsBinHexAsync(Inherited from System.Xml.XmlReaderSystem.Xml.XmlReaderSystem.Xml::XmlReader)
Public methodXmlReader.ReadContentAsBooleanXmlReader.ReadContentAsBooleanXmlReader::ReadContentAsBooleanReads the text content at the current position as a Boolean.(Inherited from System.Xml.XmlReaderSystem.Xml.XmlReaderSystem.Xml::XmlReader)
Public methodXmlReader.ReadContentAsDateTimeXmlReader.ReadContentAsDateTimeXmlReader::ReadContentAsDateTimeReads the text content at the current position as a DateTimeDateDateTime object.(Inherited from System.Xml.XmlReaderSystem.Xml.XmlReaderSystem.Xml::XmlReader)
Public methodXmlReader.ReadContentAsDateTimeOffsetXmlReader.ReadContentAsDateTimeOffsetXmlReader::ReadContentAsDateTimeOffsetReads the text content at the current position as a DateTimeOffsetDateTimeOffsetDateTimeOffset object.(Inherited from System.Xml.XmlReaderSystem.Xml.XmlReaderSystem.Xml::XmlReader)
Public methodXmlReader.ReadContentAsDecimalXmlReader.ReadContentAsDecimalXmlReader::ReadContentAsDecimalReads the text content at the current position as a decimalDecimaldecimal object.(Inherited from System.Xml.XmlReaderSystem.Xml.XmlReaderSystem.Xml::XmlReader)
Public methodXmlReader.ReadContentAsDoubleXmlReader.ReadContentAsDoubleXmlReader::ReadContentAsDoubleReads the text content at the current position as a double-precision floating-point number.(Inherited from System.Xml.XmlReaderSystem.Xml.XmlReaderSystem.Xml::XmlReader)
Public methodXmlReader.ReadContentAsFloatXmlReader.ReadContentAsFloatXmlReader::ReadContentAsFloatReads the text content at the current position as a single-precision floating point number.(Inherited from System.Xml.XmlReaderSystem.Xml.XmlReaderSystem.Xml::XmlReader)
Public methodXmlReader.ReadContentAsIntXmlReader.ReadContentAsIntXmlReader::ReadContentAsIntReads the text content at the current position as a 32-bit signed integer.(Inherited from System.Xml.XmlReaderSystem.Xml.XmlReaderSystem.Xml::XmlReader)
Public methodXmlReader.ReadContentAsLongXmlReader.ReadContentAsLongXmlReader::ReadContentAsLongReads the text content at the current position as a 64-bit signed integer.(Inherited from System.Xml.XmlReaderSystem.Xml.XmlReaderSystem.Xml::XmlReader)
Public methodXmlReader.ReadContentAsObjectXmlReader.ReadContentAsObjectXmlReader::ReadContentAsObjectReads the text content at the current position as an objectObjectobject.(Inherited from System.Xml.XmlReaderSystem.Xml.XmlReaderSystem.Xml::XmlReader)
Public methodXmlReader.ReadContentAsObjectAsyncXmlReader.ReadContentAsObjectAsyncXmlReader::ReadContentAsObjectAsyncAsynchronously reads the text content at the current position as an objectObjectobject.(Inherited from System.Xml.XmlReaderSystem.Xml.XmlReaderSystem.Xml::XmlReader)
Public methodXmlReader.ReadContentAsStringXmlReader.ReadContentAsStringXmlReader::ReadContentAsStringReads the text content at the current position as a stringStringString object.(Inherited from System.Xml.XmlReaderSystem.Xml.XmlReaderSystem.Xml::XmlReader)
Public methodXmlReader.ReadContentAsStringAsyncXmlReader.ReadContentAsStringAsyncXmlReader::ReadContentAsStringAsyncAsynchronously reads the text content at the current position as a stringStringString object.(Inherited from System.Xml.XmlReaderSystem.Xml.XmlReaderSystem.Xml::XmlReader)
Public methodXmlReader.ReadElementContentAsXmlReader.ReadElementContentAsXmlReader::ReadElementContentAsReads the element content as the requested type.(Inherited from System.Xml.XmlReaderSystem.Xml.XmlReaderSystem.Xml::XmlReader)
Public methodXmlReader.ReadElementContentAsXmlReader.ReadElementContentAsXmlReader::ReadElementContentAsChecks that the specified local name and namespace URI matches that of the current element, then reads the element content as the requested type.(Inherited from System.Xml.XmlReaderSystem.Xml.XmlReaderSystem.Xml::XmlReader)
Public methodXmlReader.ReadElementContentAsAsyncXmlReader.ReadElementContentAsAsyncXmlReader::ReadElementContentAsAsync(Inherited from System.Xml.XmlReaderSystem.Xml.XmlReaderSystem.Xml::XmlReader)
Public methodXmlReader.ReadElementContentAsBase64XmlReader.ReadElementContentAsBase64XmlReader::ReadElementContentAsBase64Reads the element and decodes the Base64 content.(Inherited from System.Xml.XmlReaderSystem.Xml.XmlReaderSystem.Xml::XmlReader)
Public methodXmlReader.ReadElementContentAsBase64AsyncXmlReader.ReadElementContentAsBase64AsyncXmlReader::ReadElementContentAsBase64Async(Inherited from System.Xml.XmlReaderSystem.Xml.XmlReaderSystem.Xml::XmlReader)
Public methodXmlReader.ReadElementContentAsBinHexXmlReader.ReadElementContentAsBinHexXmlReader::ReadElementContentAsBinHexReads the element and decodes the BinHex content.(Inherited from System.Xml.XmlReaderSystem.Xml.XmlReaderSystem.Xml::XmlReader)
Public methodXmlReader.ReadElementContentAsBinHexAsyncXmlReader.ReadElementContentAsBinHexAsyncXmlReader::ReadElementContentAsBinHexAsync(Inherited from System.Xml.XmlReaderSystem.Xml.XmlReaderSystem.Xml::XmlReader)
Public methodXmlReader.ReadElementContentAsBooleanXmlReader.ReadElementContentAsBooleanXmlReader::ReadElementContentAsBooleanReads the current element and returns the contents as a boolBooleanbool object.(Inherited from System.Xml.XmlReaderSystem.Xml.XmlReaderSystem.Xml::XmlReader)
Public methodXmlReader.ReadElementContentAsBooleanXmlReader.ReadElementContentAsBooleanXmlReader::ReadElementContentAsBooleanChecks that the specified local name and namespace URI matches that of the current element, then reads the current element and returns the contents as a boolBooleanbool object.(Inherited from System.Xml.XmlReaderSystem.Xml.XmlReaderSystem.Xml::XmlReader)
Public methodXmlReader.ReadElementContentAsDateTimeXmlReader.ReadElementContentAsDateTimeXmlReader::ReadElementContentAsDateTimeReads the current element and returns the contents as a DateTimeDateDateTime object.(Inherited from System.Xml.XmlReaderSystem.Xml.XmlReaderSystem.Xml::XmlReader)
Public methodXmlReader.ReadElementContentAsDateTimeXmlReader.ReadElementContentAsDateTimeXmlReader::ReadElementContentAsDateTimeChecks that the specified local name and namespace URI matches that of the current element, then reads the current element and returns the contents as a DateTimeDateDateTime object.(Inherited from System.Xml.XmlReaderSystem.Xml.XmlReaderSystem.Xml::XmlReader)
Public methodXmlReader.ReadElementContentAsDecimalXmlReader.ReadElementContentAsDecimalXmlReader::ReadElementContentAsDecimalReads the current element and returns the contents as a decimalDecimaldecimal object.(Inherited from System.Xml.XmlReaderSystem.Xml.XmlReaderSystem.Xml::XmlReader)
Public methodXmlReader.ReadElementContentAsDecimalXmlReader.ReadElementContentAsDecimalXmlReader::ReadElementContentAsDecimalChecks that the specified local name and namespace URI matches that of the current element, then reads the current element and returns the contents as a decimalDecimaldecimal object.(Inherited from System.Xml.XmlReaderSystem.Xml.XmlReaderSystem.Xml::XmlReader)
Public methodXmlReader.ReadElementContentAsDoubleXmlReader.ReadElementContentAsDoubleXmlReader::ReadElementContentAsDoubleReads the current element and returns the contents as a double-precision floating-point number.(Inherited from System.Xml.XmlReaderSystem.Xml.XmlReaderSystem.Xml::XmlReader)
Public methodXmlReader.ReadElementContentAsDoubleXmlReader.ReadElementContentAsDoubleXmlReader::ReadElementContentAsDoubleChecks that the specified local name and namespace URI matches that of the current element, then reads the current element and returns the contents as a double-precision floating-point number.(Inherited from System.Xml.XmlReaderSystem.Xml.XmlReaderSystem.Xml::XmlReader)
Public methodXmlReader.ReadElementContentAsFloatXmlReader.ReadElementContentAsFloatXmlReader::ReadElementContentAsFloatReads the current element and returns the contents as single-precision floating-point number.(Inherited from System.Xml.XmlReaderSystem.Xml.XmlReaderSystem.Xml::XmlReader)
Public methodXmlReader.ReadElementContentAsFloatXmlReader.ReadElementContentAsFloatXmlReader::ReadElementContentAsFloatChecks that the specified local name and namespace URI matches that of the current element, then reads the current element and returns the contents as a single-precision floating-point number.(Inherited from System.Xml.XmlReaderSystem.Xml.XmlReaderSystem.Xml::XmlReader)
Public methodXmlReader.ReadElementContentAsIntXmlReader.ReadElementContentAsIntXmlReader::ReadElementContentAsIntReads the current element and returns the contents as a 32-bit signed integer.(Inherited from System.Xml.XmlReaderSystem.Xml.XmlReaderSystem.Xml::XmlReader)
Public methodXmlReader.ReadElementContentAsIntXmlReader.ReadElementContentAsIntXmlReader::ReadElementContentAsIntChecks that the specified local name and namespace URI matches that of the current element, then reads the current element and returns the contents as a 32-bit signed integer.(Inherited from System.Xml.XmlReaderSystem.Xml.XmlReaderSystem.Xml::XmlReader)
Public methodXmlReader.ReadElementContentAsLongXmlReader.ReadElementContentAsLongXmlReader::ReadElementContentAsLongReads the current element and returns the contents as a 64-bit signed integer.(Inherited from System.Xml.XmlReaderSystem.Xml.XmlReaderSystem.Xml::XmlReader)
Public methodXmlReader.ReadElementContentAsLongXmlReader.ReadElementContentAsLongXmlReader::ReadElementContentAsLongChecks that the specified local name and namespace URI matches that of the current element, then reads the current element and returns the contents as a 64-bit signed integer.(Inherited from System.Xml.XmlReaderSystem.Xml.XmlReaderSystem.Xml::XmlReader)
Public methodXmlReader.ReadElementContentAsObjectXmlReader.ReadElementContentAsObjectXmlReader::ReadElementContentAsObjectReads the current element and returns the contents as an objectObjectobject.(Inherited from System.Xml.XmlReaderSystem.Xml.XmlReaderSystem.Xml::XmlReader)
Public methodXmlReader.ReadElementContentAsObjectXmlReader.ReadElementContentAsObjectXmlReader::ReadElementContentAsObjectChecks that the specified local name and namespace URI matches that of the current element, then reads the current element and returns the contents as an objectObjectobject.(Inherited from System.Xml.XmlReaderSystem.Xml.XmlReaderSystem.Xml::XmlReader)
Public methodXmlReader.ReadElementContentAsObjectAsyncXmlReader.ReadElementContentAsObjectAsyncXmlReader::ReadElementContentAsObjectAsyncAsynchronously reads the current element and returns the contents as an objectObjectobject.(Inherited from System.Xml.XmlReaderSystem.Xml.XmlReaderSystem.Xml::XmlReader)
Public methodXmlReader.ReadElementContentAsStringXmlReader.ReadElementContentAsStringXmlReader::ReadElementContentAsStringReads the current element and returns the contents as a stringStringString object.(Inherited from System.Xml.XmlReaderSystem.Xml.XmlReaderSystem.Xml::XmlReader)
Public methodXmlReader.ReadElementContentAsStringXmlReader.ReadElementContentAsStringXmlReader::ReadElementContentAsStringChecks that the specified local name and namespace URI matches that of the current element, then reads the current element and returns the contents as a stringStringString object.(Inherited from System.Xml.XmlReaderSystem.Xml.XmlReaderSystem.Xml::XmlReader)
Public methodXmlReader.ReadElementContentAsStringAsyncXmlReader.ReadElementContentAsStringAsyncXmlReader::ReadElementContentAsStringAsyncAsynchronously reads the current element and returns the contents as a stringStringString object.(Inherited from System.Xml.XmlReaderSystem.Xml.XmlReaderSystem.Xml::XmlReader)
Public methodXmlReader.ReadElementStringXmlReader.ReadElementStringXmlReader::ReadElementStringReads a text-only element. However, we recommend that you use the ReadElementContentAsStringReadElementContentAsStringReadElementContentAsString method instead, because it provides a more straightforward way to handle this operation.(Inherited from System.Xml.XmlReaderSystem.Xml.XmlReaderSystem.Xml::XmlReader)
Public methodXmlReader.ReadElementStringXmlReader.ReadElementStringXmlReader::ReadElementStringChecks that the NameNameName property of the element found matches the given string before reading a text-only element. However, we recommend that you use the ReadElementContentAsStringReadElementContentAsStringReadElementContentAsString method instead, because it provides a more straightforward way to handle this operation.(Inherited from System.Xml.XmlReaderSystem.Xml.XmlReaderSystem.Xml::XmlReader)
Public methodXmlReader.ReadElementStringXmlReader.ReadElementStringXmlReader::ReadElementStringChecks that the LocalNameLocalNameLocalName and NamespaceURINamespaceURINamespaceURI properties of the element found matches the given strings before reading a text-only element. However, we recommend that you use the ReadElementContentAsStringReadElementContentAsStringReadElementContentAsString method instead, because it provides a more straightforward way to handle this operation.(Inherited from System.Xml.XmlReaderSystem.Xml.XmlReaderSystem.Xml::XmlReader)
Public methodXmlReader.ReadEndElementXmlReader.ReadEndElementXmlReader::ReadEndElementChecks that the current content node is an end tag and advances the reader to the next node.(Inherited from System.Xml.XmlReaderSystem.Xml.XmlReaderSystem.Xml::XmlReader)
Public methodXmlReader.ReadInnerXmlXmlReader.ReadInnerXmlXmlReader::ReadInnerXmlWhen overridden in a derived class, reads all the content, including markup, as a string.(Inherited from System.Xml.XmlReaderSystem.Xml.XmlReaderSystem.Xml::XmlReader)
Public methodXmlReader.ReadInnerXmlAsyncXmlReader.ReadInnerXmlAsyncXmlReader::ReadInnerXmlAsyncAsynchronously reads all the content, including markup, as a string.(Inherited from System.Xml.XmlReaderSystem.Xml.XmlReaderSystem.Xml::XmlReader)
Public methodXmlReader.ReadOuterXmlXmlReader.ReadOuterXmlXmlReader::ReadOuterXmlWhen overridden in a derived class, reads the content, including markup, representing this node and all its children.(Inherited from System.Xml.XmlReaderSystem.Xml.XmlReaderSystem.Xml::XmlReader)
Public methodXmlReader.ReadOuterXmlAsyncXmlReader.ReadOuterXmlAsyncXmlReader::ReadOuterXmlAsyncAsynchronously reads the content, including markup, representing this node and all its children.(Inherited from System.Xml.XmlReaderSystem.Xml.XmlReaderSystem.Xml::XmlReader)
Public methodXmlReader.ReadStartElementXmlReader.ReadStartElementXmlReader::ReadStartElementChecks that the current node is an element and advances the reader to the next node.(Inherited from System.Xml.XmlReaderSystem.Xml.XmlReaderSystem.Xml::XmlReader)
Public methodXmlReader.ReadStartElementXmlReader.ReadStartElementXmlReader::ReadStartElementChecks that the current content node is an element with the given NameNameName and advances the reader to the next node.(Inherited from System.Xml.XmlReaderSystem.Xml.XmlReaderSystem.Xml::XmlReader)
Public methodXmlReader.ReadStartElementXmlReader.ReadStartElementXmlReader::ReadStartElementChecks that the current content node is an element with the given LocalNameLocalNameLocalName and NamespaceURINamespaceURINamespaceURI and advances the reader to the next node.(Inherited from System.Xml.XmlReaderSystem.Xml.XmlReaderSystem.Xml::XmlReader)
Public methodXmlReader.ReadStringXmlReader.ReadStringXmlReader::ReadStringWhen overridden in a derived class, reads the contents of an element or text node as a string. However, we recommend that you use the method instead, because it provides a more straightforward way to handle this operation.(Inherited from System.Xml.XmlReaderSystem.Xml.XmlReaderSystem.Xml::XmlReader)
Public methodXmlReader.ReadSubtreeXmlReader.ReadSubtreeXmlReader::ReadSubtreeReturns a new XmlReader instance that can be used to read the current node, and all its descendants.(Inherited from System.Xml.XmlReaderSystem.Xml.XmlReaderSystem.Xml::XmlReader)
Public methodXmlReader.ReadToDescendantXmlReader.ReadToDescendantXmlReader::ReadToDescendantAdvances the XmlReaderXmlReaderXmlReader to the next descendant element with the specified qualified name.(Inherited from System.Xml.XmlReaderSystem.Xml.XmlReaderSystem.Xml::XmlReader)
Public methodXmlReader.ReadToDescendantXmlReader.ReadToDescendantXmlReader::ReadToDescendantAdvances the XmlReaderXmlReaderXmlReader to the next descendant element with the specified local name and namespace URI.(Inherited from System.Xml.XmlReaderSystem.Xml.XmlReaderSystem.Xml::XmlReader)
Public methodXmlReader.ReadToFollowingXmlReader.ReadToFollowingXmlReader::ReadToFollowingReads until an element with the specified qualified name is found.(Inherited from System.Xml.XmlReaderSystem.Xml.XmlReaderSystem.Xml::XmlReader)
Public methodXmlReader.ReadToFollowingXmlReader.ReadToFollowingXmlReader::ReadToFollowingReads until an element with the specified local name and namespace URI is found.(Inherited from System.Xml.XmlReaderSystem.Xml.XmlReaderSystem.Xml::XmlReader)
Public methodXmlReader.ReadToNextSiblingXmlReader.ReadToNextSiblingXmlReader::ReadToNextSiblingAdvances the XmlReader to the next sibling element with the specified qualified name.(Inherited from System.Xml.XmlReaderSystem.Xml.XmlReaderSystem.Xml::XmlReader)
Public methodXmlReader.ReadToNextSiblingXmlReader.ReadToNextSiblingXmlReader::ReadToNextSiblingAdvances the XmlReader to the next sibling element with the specified local name and namespace URI.(Inherited from System.Xml.XmlReaderSystem.Xml.XmlReaderSystem.Xml::XmlReader)
Public methodXmlReader.ReadValueChunkXmlReader.ReadValueChunkXmlReader::ReadValueChunkReads large streams of text embedded in an XML document.(Inherited from System.Xml.XmlReaderSystem.Xml.XmlReaderSystem.Xml::XmlReader)
Public methodXmlReader.ReadValueChunkAsyncXmlReader.ReadValueChunkAsyncXmlReader::ReadValueChunkAsync(Inherited from System.Xml.XmlReaderSystem.Xml.XmlReaderSystem.Xml::XmlReader)
Public methodResolveEntityResolveEntityResolveEntity When overridden in a derived class, resolves the entity reference for EntityReference nodes. (Overrides XmlReader.ResolveEntityXmlReader.ResolveEntityXmlReader::ResolveEntity)
Public methodXmlReader.SkipXmlReader.SkipXmlReader::SkipSkips the children of the current node.(Inherited from System.Xml.XmlReaderSystem.Xml.XmlReaderSystem.Xml::XmlReader)
Public methodXmlReader.SkipAsyncXmlReader.SkipAsyncXmlReader::SkipAsyncAsynchronously skips the children of the current node.(Inherited from System.Xml.XmlReaderSystem.Xml.XmlReaderSystem.Xml::XmlReader)
Public methodObject.ToStringObject.ToStringObject::ToStringReturns a string that represents the current object.(Inherited from System.ObjectSystem.ObjectSystem::Object)
Public methodUnparsedEntityNotationUnparsedEntityNotationUnparsedEntityNotation Returns the notation of the specified unparsed external entity.
Public methodUnparsedEntityPublicIdUnparsedEntityPublicIdUnparsedEntityPublicId Returns the public identifier of the specified unparsed external entity.
Public methodUnparsedEntitySystemIdUnparsedEntitySystemIdUnparsedEntitySystemId Returns the system identifier of the specified unparsed external entity.

Top

Remarks

This class provides an instance of XmlReaderXmlReaderXmlReader with support for the Extensible Markup Language (XML) 1.0 (Fifth Edition) and Extensible Markup Language (XML) 1.1 (Second Edition) specifications. It extends XmlReaderXmlReaderXmlReader by implementing IXmlLineInfoIXmlLineInfoIXmlLineInfo and IXmlNamespaceResolverIXmlNamespaceResolverIXmlNamespaceResolver. It also provides support for the unparsed-entity-public-id, unparsed-entity-system-id, is-id and is-idrefs accessors defined in . The reader also maintains the base URI of each node in conformance with XML Base (Second Edition), and performs ID type assignment for all xml:id attributes as required by xml:id Version 1.0. As such, the reader conforms to the external declarations profile of an XML processor.