Click or drag to resize

TypedOpenXmlPartReader Class

Represents an implementation of OpenXmlPartReader that is aware of the strongly typed classes.
Inheritance Hierarchy
SystemObject
  DocumentFormat.OpenXmlOpenXmlReader
    DocumentFormat.OpenXmlOpenXmlPartReader
      DocumentFormat.OpenXmlTypedOpenXmlPartReader

Namespace: DocumentFormat.OpenXml
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll) Version: 2.20.0+Branch.release-v2.20.0.Sha.a873d3fbff9bffe179fea62486da950adf5be65d.a873d3fbff9bffe179fea62486da950adf5be65d
Syntax
public sealed class TypedOpenXmlPartReader : OpenXmlPartReader

The TypedOpenXmlPartReader type exposes the following members.

Constructors
 NameDescription
Public methodTypedOpenXmlPartReader Initializes a new instance of the TypedOpenXmlPartReader class.
Top
Properties
 NameDescription
Public propertyAttributes Gets the list of attributes of the current element.
(Inherited from OpenXmlPartReader)
Public propertyDepth Gets the depth of the current node in the XML document. The depth of the root element is 0.
(Inherited from OpenXmlPartReader)
Public propertyElementType Gets the type of the corresponding strongly typed class of the current element.
(Inherited from OpenXmlPartReader)
Public propertyEncoding Gets the encoding of the XML file.
(Inherited from OpenXmlPartReader)
Public propertyEOF Gets a value indicating whether the reader is positioned at the end of the stream.
(Inherited from OpenXmlPartReader)
Public propertyHasAttributes Gets a value indicating whether the current node has any attributes.
(Inherited from OpenXmlReader)
Public propertyIsEndElement Gets a value indicating whether the current node is an element end.
(Inherited from OpenXmlPartReader)
Public propertyIsMiscNode Gets a value indicating whether the current node is a miscellaneous XML node (non element).
(Inherited from OpenXmlPartReader)
Public propertyIsStartElement Gets a value indicating whether the current node is an element start.
(Inherited from OpenXmlPartReader)
Public propertyLocalName Gets the local name of the current node.
(Inherited from OpenXmlPartReader)
Public propertyNamespaceDeclarations Gets the namespace declarations of the current element.
(Inherited from OpenXmlPartReader)
Public propertyNamespaceUri Gets the namespace URI (as defined in the W3C Namespace specification) of the node on which the reader is positioned.
(Inherited from OpenXmlPartReader)
Public propertyPrefix Gets the namespace prefix associated with the current node.
(Inherited from OpenXmlPartReader)
Public propertyReadMiscNodes Gets a value indicating whether the OpenXmlReader will read or skip all miscellaneous nodes.
(Inherited from OpenXmlReader)
Public propertyStandaloneXml Gets the standalone property of the XML file. Returns false if there is no "standalone" in the XML declaration stream.
(Inherited from OpenXmlPartReader)
Top
Methods
 NameDescription
Public methodClose Closes the reader.
(Inherited from OpenXmlPartReader)
Public methodDispose Closes the reader, and releases all resources.
(Inherited from OpenXmlReader)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetLineInfo Gets an instance of IXmlLineInfo if available for the current reader.
(Inherited from OpenXmlPartReader)
Public methodGetText Gets the text of the element if the element is an OpenXmlLeafTextElement. Returns String.Empty for other elements.
(Inherited from OpenXmlPartReader)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodLoadCurrentElement Loads the element at current cursor.
(Inherited from OpenXmlPartReader)
Public methodRead Moves to read the next element.
(Inherited from OpenXmlPartReader)
Public methodReadFirstChild Moves to read the first child element.
(Inherited from OpenXmlPartReader)
Public methodReadNextSibling Moves to read the next sibling element.
(Inherited from OpenXmlPartReader)
Public methodSkip Skips the child elements of the current node.
(Inherited from OpenXmlPartReader)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also