OpenXmlReader Members
Include Protected Members
Include Inherited Members
Defines the OpenXmlReader.
The OpenXmlReader type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
OpenXmlReader() | Initializes a new instance of the OpenXmlReader. |
![]() |
OpenXmlReader(Boolean) | Initializes a new instance of the OpenXmlReader. |
Top
Properties
Name | Description | |
---|---|---|
![]() |
Attributes | Gets the list of attributes of the current element |
![]() |
Depth | Gets the depth of the current node in the XML document. The depth of the root element is 0. |
![]() |
ElementType | Gets the type of the corresponding strong typed class of the current element. |
![]() |
Encoding | Gets the encoding of the XML file. |
![]() |
EOF | When overridden in a derived class, gets a value indicating whether the reader is positioned at the end of the stream. |
![]() |
HasAttributes | Gets a value indicating whether the current node has any attributes. |
![]() |
IsEndElement | When overridden in a derived class, gets a value indicating whether the current node is an element end. |
![]() |
IsMiscNode | When overridden in a derived class, gets a value indicating whether the current node is an misc XML node (non element). |
![]() |
IsStartElement | When overridden in a derived class, gets a value indicating whether the current node is an element start. |
![]() |
LocalName | When overridden in a derived class, gets the local name of the current node. |
![]() |
NamespaceDeclarations | Gets the namespace declarations in the current element. |
![]() |
NamespaceUri | 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. |
![]() |
Prefix | When overridden in a derived class, gets the namespace prefix associated with the current node. |
![]() |
ReadMiscNodes | Get a value indicating whether the OpenXmlReader will read (or skip) all miscellaneous nodes. |
![]() |
StandaloneXml | Gets the standalone property in the XML declaration of the XML stream. Default is null. |
Top
Methods
Name | Description | |
---|---|---|
![]() |
Close | Close the reader. |
![]() ![]() |
Create(Stream) | Create an OpenXmlReader from the part stream |
![]() ![]() |
Create(OpenXmlElement) | Create an OpenXmlReader from the OpenXmlElement (travel the DOM tree). |
![]() ![]() |
Create(OpenXmlPart) | Create an OpenXmlReader from the OpenXmlPart. |
![]() ![]() |
Create(Stream, Boolean) | Create an OpenXmlReader from the part stream |
![]() ![]() |
Create(OpenXmlElement, Boolean) | Create an OpenXmlReader from the OpenXmlElement (travel the DOM tree). |
![]() ![]() |
Create(OpenXmlPart, Boolean) | Create an OpenXmlReader from the OpenXmlPart. |
![]() |
Dispose() | Closes the reader, and releases all resources. |
![]() |
Dispose(Boolean) | Closes the reader, and releases all resources. |
![]() |
Equals | (Inherited from Object.) |
![]() |
Finalize | (Inherited from Object.) |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetText | Gets the text of the element if the element is OpenXmlLeafTextElement. Return String.Empry for other elements. |
![]() |
GetType | (Inherited from Object.) |
![]() |
LoadCurrentElement | Load the element at current cursor. |
![]() |
MemberwiseClone | (Inherited from Object.) |
![]() |
Read | Move to next element. |
![]() |
ReadFirstChild | Move to first child. |
![]() |
ReadNextSibling | Move to next sibling element. |
![]() |
Skip | Skips the children of the current node. |
![]() |
ThrowIfObjectDisposed | Throw if object is disposed. |
![]() |
ToString | (Inherited from Object.) |
Top