The SgmlReader type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
SgmlReader |
Initializes a new instance of the SgmlReader class
|
Methods
Name | Description | |
---|---|---|
![]() |
Close | (Overrides XmlReader..::..Close()()()().) |
![]() |
Dispose |
Releases the unmanaged resources used by the XmlReader and optionally releases the managed resources.
(Inherited from XmlReader.) |
![]() |
Equals | (Inherited from Object.) |
![]() |
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.) |
![]() |
GetAttribute(Int32) | (Overrides XmlReader..::..GetAttribute(Int32).) |
![]() |
GetAttribute(String) | (Overrides XmlReader..::..GetAttribute(String).) |
![]() |
GetAttribute(String, String) | (Overrides XmlReader..::..GetAttribute(String, String).) |
![]() |
GetEncoding | |
![]() |
GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) |
![]() |
GetType |
Gets the Type of the current instance.
(Inherited from Object.) |
![]() |
IsStartElement()()()() |
Calls MoveToContent()()()() and tests if the current content node is a start tag or empty element tag.
(Inherited from XmlReader.) |
![]() |
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.) |
![]() |
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.) |
![]() |
LookupNamespace | (Overrides XmlReader..::..LookupNamespace(String).) |
![]() |
MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) |
![]() |
MoveToAttribute(Int32) | (Overrides XmlReader..::..MoveToAttribute(Int32).) |
![]() |
MoveToAttribute(String) | (Overrides XmlReader..::..MoveToAttribute(String).) |
![]() |
MoveToAttribute(String, String) | (Overrides XmlReader..::..MoveToAttribute(String, String).) |
![]() |
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.) |
![]() |
MoveToElement | (Overrides XmlReader..::..MoveToElement()()()().) |
![]() |
MoveToFirstAttribute | (Overrides XmlReader..::..MoveToFirstAttribute()()()().) |
![]() |
MoveToNextAttribute | (Overrides XmlReader..::..MoveToNextAttribute()()()().) |
![]() |
Read | (Overrides XmlReader..::..Read()()()().) |
![]() |
ReadAttributeValue | (Overrides XmlReader..::..ReadAttributeValue()()()().) |
![]() |
ReadContentAs |
Reads the content as an object of the type specified.
(Inherited from XmlReader.) |
![]() |
ReadContentAsBase64 |
Reads the content and returns the Base64 decoded binary bytes.
(Inherited from XmlReader.) |
![]() |
ReadContentAsBinHex |
Reads the content and returns the BinHex decoded binary bytes.
(Inherited from XmlReader.) |
![]() |
ReadContentAsBoolean |
Reads the text content at the current position as a Boolean.
(Inherited from XmlReader.) |
![]() |
ReadContentAsDateTime |
Reads the text content at the current position as a DateTime object.
(Inherited from XmlReader.) |
![]() |
ReadContentAsDecimal |
Reads the text content at the current position as a Decimal object.
(Inherited from XmlReader.) |
![]() |
ReadContentAsDouble |
Reads the text content at the current position as a double-precision floating-point number.
(Inherited from XmlReader.) |
![]() |
ReadContentAsFloat |
Reads the text content at the current position as a single-precision floating point number.
(Inherited from XmlReader.) |
![]() |
ReadContentAsInt |
Reads the text content at the current position as a 32-bit signed integer.
(Inherited from XmlReader.) |
![]() |
ReadContentAsLong |
Reads the text content at the current position as a 64-bit signed integer.
(Inherited from XmlReader.) |
![]() |
ReadContentAsObject |
Reads the text content at the current position as an Object.
(Inherited from XmlReader.) |
![]() |
ReadContentAsString |
Reads the text content at the current position as a String object.
(Inherited from XmlReader.) |
![]() |
ReadElementContentAs(Type, IXmlNamespaceResolver) |
Reads the element content as the requested type.
(Inherited from XmlReader.) |
![]() |
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.) |
![]() |
ReadElementContentAsBase64 |
Reads the element and decodes the Base64 content.
(Inherited from XmlReader.) |
![]() |
ReadElementContentAsBinHex |
Reads the element and decodes the BinHex content.
(Inherited from XmlReader.) |
![]() |
ReadElementContentAsBoolean()()()() |
Reads the current element and returns the contents as a Boolean object.
(Inherited from XmlReader.) |
![]() |
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.) |
![]() |
ReadElementContentAsDateTime()()()() |
Reads the current element and returns the contents as a DateTime object.
(Inherited from XmlReader.) |
![]() |
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.) |
![]() |
ReadElementContentAsDecimal()()()() |
Reads the current element and returns the contents as a Decimal object.
(Inherited from XmlReader.) |
![]() |
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.) |
![]() |
ReadElementContentAsDouble()()()() |
Reads the current element and returns the contents as a double-precision floating-point number.
(Inherited from XmlReader.) |
![]() |
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.) |
![]() |
ReadElementContentAsFloat()()()() |
Reads the current element and returns the contents as single-precision floating-point number.
(Inherited from XmlReader.) |
![]() |
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.) |
![]() |
ReadElementContentAsInt()()()() |
Reads the current element and returns the contents as a 32-bit signed integer.
(Inherited from XmlReader.) |
![]() |
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.) |
![]() |
ReadElementContentAsLong()()()() |
Reads the current element and returns the contents as a 64-bit signed integer.
(Inherited from XmlReader.) |
![]() |
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.) |
![]() |
ReadElementContentAsObject()()()() |
Reads the current element and returns the contents as an Object.
(Inherited from XmlReader.) |
![]() |
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.) |
![]() |
ReadElementContentAsString()()()() |
Reads the current element and returns the contents as a String object.
(Inherited from XmlReader.) |
![]() |
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.) |
![]() |
ReadElementString()()()() |
Reads a text-only element.
(Inherited from XmlReader.) |
![]() |
ReadElementString(String) |
Checks that the Name property of the element found matches the given string before reading a text-only element.
(Inherited from XmlReader.) |
![]() |
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.) |
![]() |
ReadEndElement |
Checks that the current content node is an end tag and advances the reader to the next node.
(Inherited from XmlReader.) |
![]() |
ReadInnerXml | (Overrides XmlReader..::..ReadInnerXml()()()().) |
![]() |
ReadOuterXml | (Overrides XmlReader..::..ReadOuterXml()()()().) |
![]() |
ReadStartElement()()()() |
Checks that the current node is an element and advances the reader to the next node.
(Inherited from XmlReader.) |
![]() |
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.) |
![]() |
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.) |
![]() |
ReadString | (Overrides XmlReader..::..ReadString()()()().) |
![]() |
ReadSubtree |
Returns a new XmlReader instance that can be used to read the current node, and all its descendants.
(Inherited from XmlReader.) |
![]() |
ReadToDescendant(String) |
Advances the XmlReader to the next descendant element with the specified qualified name.
(Inherited from XmlReader.) |
![]() |
ReadToDescendant(String, String) |
Advances the XmlReader to the next descendant element with the specified local name and namespace URI.
(Inherited from XmlReader.) |
![]() |
ReadToFollowing(String) |
Reads until an element with the specified qualified name is found.
(Inherited from XmlReader.) |
![]() |
ReadToFollowing(String, String) |
Reads until an element with the specified local name and namespace URI is found.
(Inherited from XmlReader.) |
![]() |
ReadToNextSibling(String) |
Advances the XmlReader to the next sibling element with the specified qualified name.
(Inherited from XmlReader.) |
![]() |
ReadToNextSibling(String, String) |
Advances the XmlReader to the next sibling element with the specified local name and namespace URI.
(Inherited from XmlReader.) |
![]() |
ReadValueChunk |
Reads large streams of text embedded in an XML document.
(Inherited from XmlReader.) |
![]() |
ResolveEntity | (Overrides XmlReader..::..ResolveEntity()()()().) |
![]() |
ScanLiteral | |
![]() |
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.
|
![]() |
Skip |
Skips the children of the current node.
(Inherited from XmlReader.) |
![]() |
ToString | (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
![]() |
AttributeCount | (Overrides XmlReader..::..AttributeCount.) |
![]() |
BaseURI | (Overrides XmlReader..::..BaseURI.) |
![]() |
CanReadBinaryContent |
Gets a value indicating whether the XmlReader implements the binary content read methods.
(Inherited from XmlReader.) |
![]() |
CanReadValueChunk |
Gets a value indicating whether the XmlReader implements the ReadValueChunk(array<Char>[]()[][], Int32, Int32) method.
(Inherited from XmlReader.) |
![]() |
CanResolveEntity |
Gets a value indicating whether this reader can parse and resolve entities.
(Inherited from XmlReader.) |
![]() |
CaseFolding | |
![]() |
Depth | (Overrides XmlReader..::..Depth.) |
![]() |
DocType |
The name of root element specified in the DOCTYPE tag.
|
![]() |
Dtd |
Specify the SgmlDtd object directly. This allows you to cache the Dtd and share
it across multipl SgmlReaders. To load a DTD from a URL use the SystemLiteral property.
|
![]() |
EOF | (Overrides XmlReader..::..EOF.) |
![]() |
ErrorLog |
DTD validation errors are written to this stream.
|
![]() |
ErrorLogFile |
DTD validation errors are written to this log file.
|
![]() |
HasAttributes |
Gets a value indicating whether the current node has any attributes.
(Inherited from XmlReader.) |
![]() |
HasValue | (Overrides XmlReader..::..HasValue.) |
![]() |
Href |
Specify the location of the input SGML document as a URL.
|
![]() |
InputStream |
The input stream containing SGML data to parse.
You must specify this property or the Href property before calling Read().
|
![]() |
InternalSubset |
The DTD internal subset in the DOCTYPE tag
|
![]() |
IsDefault | (Overrides XmlReader..::..IsDefault.) |
![]() |
IsEmptyElement | (Overrides XmlReader..::..IsEmptyElement.) |
![]() |
Item[([( Int32])]) | (Overrides XmlReader..::..Item[([( Int32])]) .) |
![]() |
Item[([( String])]) | (Overrides XmlReader..::..Item[([( String])]) .) |
![]() |
Item[([( String, String])]) | (Overrides XmlReader..::..Item[([( String, String])]) .) |
![]() |
LocalName | (Overrides XmlReader..::..LocalName.) |
![]() |
Name | (Overrides XmlReader..::..Name.) |
![]() |
NamespaceURI | (Overrides XmlReader..::..NamespaceURI.) |
![]() |
NameTable | (Overrides XmlReader..::..NameTable.) |
![]() |
NodeType | (Overrides XmlReader..::..NodeType.) |
![]() |
Prefix | (Overrides XmlReader..::..Prefix.) |
![]() |
PublicIdentifier |
The PUBLIC identifier in the DOCTYPE tag
|
![]() |
QuoteChar | (Overrides XmlReader..::..QuoteChar.) |
![]() |
ReadState | (Overrides XmlReader..::..ReadState.) |
![]() |
SchemaInfo |
Gets the schema information that has been assigned to the current node as a result of schema validation.
(Inherited from XmlReader.) |
![]() |
Settings |
Gets the XmlReaderSettings object used to create this XmlReader instance.
(Inherited from XmlReader.) |
![]() |
StripDocType |
Whether to strip out the DOCTYPE tag from the output (default true)
|
![]() |
SystemLiteral |
The SYSTEM literal in the DOCTYPE tag identifying the location of the DTD.
|
![]() |
Value | (Overrides XmlReader..::..Value.) |
![]() |
ValueType |
Gets The Common Language Runtime (CLR) type for the current node.
(Inherited from XmlReader.) |
![]() |
WebProxy |
Sometimes you need to specify a proxy server in order to load data via HTTP
from outside the firewall. For example: "itgproxy:80".
|
![]() |
WhitespaceHandling | |
![]() |
XmlLang | (Overrides XmlReader..::..XmlLang.) |
![]() |
XmlSpace | (Overrides XmlReader..::..XmlSpace.) |