OpenXmlReader-Member
Geschützte Member einschließen
Geerbte Member einschließen
Defines the OpenXmlReader.
Vom OpenXmlReader-Typ werden die folgenden Member offengelegt.
Konstruktoren
Name | Beschreibung | |
---|---|---|
OpenXmlReader() | Initializes a new instance of the OpenXmlReader. | |
OpenXmlReader(Boolean) | Initializes a new instance of the OpenXmlReader. |
Nach oben
Eigenschaften
Name | Beschreibung | |
---|---|---|
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. |
Nach oben
Methoden
Name | Beschreibung | |
---|---|---|
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 | (Geerbt von Object.) | |
Finalize | (Geerbt von Object.) | |
GetHashCode | (Geerbt von Object.) | |
GetText | Gets the text of the element if the element is OpenXmlLeafTextElement. Return String.Empry for other elements. | |
GetType | (Geerbt von Object.) | |
LoadCurrentElement | Load the element at current cursor. | |
MemberwiseClone | (Geerbt von 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 | (Geerbt von Object.) |
Nach oben