Поделиться через


OpenXmlPartReader Members

Include Protected Members
Include Inherited Members

Defines the OpenXmlPartReader.

The OpenXmlPartReader type exposes the following members.

Constructors

  Name Description
Public method OpenXmlPartReader(Stream) Initializes a new instance of the OpenXmlPartReader.
Public method OpenXmlPartReader(OpenXmlPart) Initializes a new instance of the OpenXmlPartReader.
Public method OpenXmlPartReader(Stream, Boolean) Initializes a new instance of the OpenXmlPartReader.
Public method OpenXmlPartReader(OpenXmlPart, Boolean) Initializes a new instance of the OpenXmlPartReader.

Top

Properties

  Name Description
Public property Attributes Gets the list of attributes of the current element (Overrides OpenXmlReader.Attributes.)
Public property Depth Gets the depth of the current node in the XML document. The depth of the root element is 0. (Overrides OpenXmlReader.Depth.)
Public property ElementType Gets the type of the corresponding strong typed class of the current element. (Overrides OpenXmlReader.ElementType.)
Public property Encoding Gets the encoding of the XML file. (Overrides OpenXmlReader.Encoding.)
Public property EOF Gets a value indicating whether the reader is positioned at the end of the stream. (Overrides OpenXmlReader.EOF.)
Public property HasAttributes Gets a value indicating whether the current node has any attributes. (Inherited from OpenXmlReader.)
Public property IsEndElement Gets a value indicating whether the current node is an element end. (Overrides OpenXmlReader.IsEndElement.)
Public property IsMiscNode Gets a value indicating whether the current node is an misc XML node (non element). (Overrides OpenXmlReader.IsMiscNode.)
Public property IsStartElement Gets a value indicating whether the current node is an element start. (Overrides OpenXmlReader.IsStartElement.)
Public property LocalName Gets the local name of the current node. (Overrides OpenXmlReader.LocalName.)
Public property NamespaceDeclarations Gets the namespace declarations in the current element. (Overrides OpenXmlReader.NamespaceDeclarations.)
Public property NamespaceUri Gets the namespace URI (as defined in the W3C Namespace specification) of the node on which the reader is positioned. (Overrides OpenXmlReader.NamespaceUri.)
Public property Prefix Gets the namespace prefix associated with the current node. (Overrides OpenXmlReader.Prefix.)
Public property ReadMiscNodes Get a value indicating whether the OpenXmlReader will read (or skip) all miscellaneous nodes. (Inherited from OpenXmlReader.)
Public property StandaloneXml Get the standalone property of the XML file. False if there is no "standalone" in the XML declaration stream. (Overrides OpenXmlReader.StandaloneXml.)

Top

Methods

  Name Description
Public method Close Close the reader. (Overrides OpenXmlReader.Close().)
Public method Dispose() Closes the reader, and releases all resources. (Inherited from OpenXmlReader.)
Protected method Dispose(Boolean) Closes the reader, and releases all resources. (Inherited from OpenXmlReader.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetText Gets the text of the element if the element is OpenXmlLeafTextElement. Return String.Empry for other elements. (Overrides OpenXmlReader.GetText().)
Public method GetType (Inherited from Object.)
Public method LoadCurrentElement Load the element at current cursor. (Overrides OpenXmlReader.LoadCurrentElement().)
Protected method MemberwiseClone (Inherited from Object.)
Public method Read Move to next element. (Overrides OpenXmlReader.Read().)
Public method ReadFirstChild Move to first child. (Overrides OpenXmlReader.ReadFirstChild().)
Public method ReadNextSibling Move to next sibling element. (Overrides OpenXmlReader.ReadNextSibling().)
Public method Skip Skips the children of the current node. (Overrides OpenXmlReader.Skip().)
Protected method ThrowIfObjectDisposed Throw if object is disposed. (Inherited from OpenXmlReader.)
Public method ToString (Inherited from Object.)

Top

See Also

Reference

OpenXmlPartReader Class

DocumentFormat.OpenXml Namespace