The SgmlReader type exposes the following members.

Methods

  Name Description
Public method Close (Overrides XmlReader..::..Close()()()().)
Protected method Dispose
Releases the unmanaged resources used by the XmlReader and optionally releases the managed resources.
(Inherited from XmlReader.)
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected method Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public method GetAttribute(Int32) (Overrides XmlReader..::..GetAttribute(Int32).)
Public method GetAttribute(String) (Overrides XmlReader..::..GetAttribute(String).)
Public method GetAttribute(String, String) (Overrides XmlReader..::..GetAttribute(String, String).)
Public method GetEncoding
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method IsStartElement()()()()
Calls MoveToContent()()()() and tests if the current content node is a start tag or empty element tag.
(Inherited from XmlReader.)
Public method IsStartElement(String)
Calls MoveToContent()()()() and tests if the current content node is a start tag or empty element tag and if the Name property of the element found matches the given argument.
(Inherited from XmlReader.)
Public method IsStartElement(String, String)
Calls MoveToContent()()()() and tests if the current content node is a start tag or empty element tag and if the LocalName and NamespaceURI properties of the element found match the given strings.
(Inherited from XmlReader.)
Public method LookupNamespace (Overrides XmlReader..::..LookupNamespace(String).)
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method MoveToAttribute(Int32) (Overrides XmlReader..::..MoveToAttribute(Int32).)
Public method MoveToAttribute(String) (Overrides XmlReader..::..MoveToAttribute(String).)
Public method MoveToAttribute(String, String) (Overrides XmlReader..::..MoveToAttribute(String, String).)
Public method MoveToContent
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.
(Inherited from XmlReader.)
Public method MoveToElement (Overrides XmlReader..::..MoveToElement()()()().)
Public method MoveToFirstAttribute (Overrides XmlReader..::..MoveToFirstAttribute()()()().)
Public method MoveToNextAttribute (Overrides XmlReader..::..MoveToNextAttribute()()()().)
Public method Read (Overrides XmlReader..::..Read()()()().)
Public method ReadAttributeValue (Overrides XmlReader..::..ReadAttributeValue()()()().)
Public method ReadContentAs
Reads the content as an object of the type specified.
(Inherited from XmlReader.)
Public method ReadContentAsBase64
Reads the content and returns the Base64 decoded binary bytes.
(Inherited from XmlReader.)
Public method ReadContentAsBinHex
Reads the content and returns the BinHex decoded binary bytes.
(Inherited from XmlReader.)
Public method ReadContentAsBoolean
Reads the text content at the current position as a Boolean.
(Inherited from XmlReader.)
Public method ReadContentAsDateTime
Reads the text content at the current position as a DateTime object.
(Inherited from XmlReader.)
Public method ReadContentAsDecimal
Reads the text content at the current position as a Decimal object.
(Inherited from XmlReader.)
Public method ReadContentAsDouble
Reads the text content at the current position as a double-precision floating-point number.
(Inherited from XmlReader.)
Public method ReadContentAsFloat
Reads the text content at the current position as a single-precision floating point number.
(Inherited from XmlReader.)
Public method ReadContentAsInt
Reads the text content at the current position as a 32-bit signed integer.
(Inherited from XmlReader.)
Public method ReadContentAsLong
Reads the text content at the current position as a 64-bit signed integer.
(Inherited from XmlReader.)
Public method ReadContentAsObject
Reads the text content at the current position as an Object.
(Inherited from XmlReader.)
Public method ReadContentAsString
Reads the text content at the current position as a String object.
(Inherited from XmlReader.)
Public method ReadElementContentAs(Type, IXmlNamespaceResolver)
Reads the element content as the requested type.
(Inherited from XmlReader.)
Public method ReadElementContentAs(Type, IXmlNamespaceResolver, String, String)
Checks 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 XmlReader.)
Public method ReadElementContentAsBase64
Reads the element and decodes the Base64 content.
(Inherited from XmlReader.)
Public method ReadElementContentAsBinHex
Reads the element and decodes the BinHex content.
(Inherited from XmlReader.)
Public method ReadElementContentAsBoolean()()()()
Reads the current element and returns the contents as a Boolean object.
(Inherited from XmlReader.)
Public method ReadElementContentAsBoolean(String, String)
Checks 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 Boolean object.
(Inherited from XmlReader.)
Public method ReadElementContentAsDateTime()()()()
Reads the current element and returns the contents as a DateTime object.
(Inherited from XmlReader.)
Public method ReadElementContentAsDateTime(String, String)
Checks 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 DateTime object.
(Inherited from XmlReader.)
Public method ReadElementContentAsDecimal()()()()
Reads the current element and returns the contents as a Decimal object.
(Inherited from XmlReader.)
Public method ReadElementContentAsDecimal(String, String)
Checks 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 Decimal object.
(Inherited from XmlReader.)
Public method ReadElementContentAsDouble()()()()
Reads the current element and returns the contents as a double-precision floating-point number.
(Inherited from XmlReader.)
Public method ReadElementContentAsDouble(String, String)
Checks 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 XmlReader.)
Public method ReadElementContentAsFloat()()()()
Reads the current element and returns the contents as single-precision floating-point number.
(Inherited from XmlReader.)
Public method ReadElementContentAsFloat(String, String)
Checks 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 XmlReader.)
Public method ReadElementContentAsInt()()()()
Reads the current element and returns the contents as a 32-bit signed integer.
(Inherited from XmlReader.)
Public method ReadElementContentAsInt(String, String)
Checks 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 XmlReader.)
Public method ReadElementContentAsLong()()()()
Reads the current element and returns the contents as a 64-bit signed integer.
(Inherited from XmlReader.)
Public method ReadElementContentAsLong(String, String)
Checks 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 XmlReader.)
Public method ReadElementContentAsObject()()()()
Reads the current element and returns the contents as an Object.
(Inherited from XmlReader.)
Public method ReadElementContentAsObject(String, String)
Checks 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 Object.
(Inherited from XmlReader.)
Public method ReadElementContentAsString()()()()
Reads the current element and returns the contents as a String object.
(Inherited from XmlReader.)
Public method ReadElementContentAsString(String, String)
Checks 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 String object.
(Inherited from XmlReader.)
Public method ReadElementString()()()()
Reads a text-only element.
(Inherited from XmlReader.)
Public method ReadElementString(String)
Checks that the Name property of the element found matches the given string before reading a text-only element.
(Inherited from XmlReader.)
Public method ReadElementString(String, String)
Checks that the LocalName and NamespaceURI properties of the element found matches the given strings before reading a text-only element.
(Inherited from XmlReader.)
Public method ReadEndElement
Checks that the current content node is an end tag and advances the reader to the next node.
(Inherited from XmlReader.)
Public method ReadInnerXml (Overrides XmlReader..::..ReadInnerXml()()()().)
Public method ReadOuterXml (Overrides XmlReader..::..ReadOuterXml()()()().)
Public method ReadStartElement()()()()
Checks that the current node is an element and advances the reader to the next node.
(Inherited from XmlReader.)
Public method ReadStartElement(String)
Checks that the current content node is an element with the given Name and advances the reader to the next node.
(Inherited from XmlReader.)
Public method ReadStartElement(String, String)
Checks that the current content node is an element with the given LocalName and NamespaceURI and advances the reader to the next node.
(Inherited from XmlReader.)
Public method ReadString (Overrides XmlReader..::..ReadString()()()().)
Public method ReadSubtree
Returns a new XmlReader instance that can be used to read the current node, and all its descendants.
(Inherited from XmlReader.)
Public method ReadToDescendant(String)
Advances the XmlReader to the next descendant element with the specified qualified name.
(Inherited from XmlReader.)
Public method ReadToDescendant(String, String)
Advances the XmlReader to the next descendant element with the specified local name and namespace URI.
(Inherited from XmlReader.)
Public method ReadToFollowing(String)
Reads until an element with the specified qualified name is found.
(Inherited from XmlReader.)
Public method ReadToFollowing(String, String)
Reads until an element with the specified local name and namespace URI is found.
(Inherited from XmlReader.)
Public method ReadToNextSibling(String)
Advances the XmlReader to the next sibling element with the specified qualified name.
(Inherited from XmlReader.)
Public method ReadToNextSibling(String, String)
Advances the XmlReader to the next sibling element with the specified local name and namespace URI.
(Inherited from XmlReader.)
Public method ReadValueChunk
Reads large streams of text embedded in an XML document.
(Inherited from XmlReader.)
Public method ResolveEntity (Overrides XmlReader..::..ResolveEntity()()()().)
Public method ScanLiteral
Public method SetBaseUri
The base Uri is used to resolve relative Uri's like the SystemLiteral and Href properties. This is a method because BaseURI is a read-only property on the base XmlReader class.
Public method Skip
Skips the children of the current node.
(Inherited from XmlReader.)
Public method ToString
Returns a String that represents the current Object.
(Inherited from Object.)

See Also