OpenXmlPartWriter Members

Include Protected Members
Include Inherited Members

Defines the OpenXmlPartWriter.

The OpenXmlPartWriter type exposes the following members.

Constructors

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

Top

Methods

  Name Description
Public method Close Close the writer. (Overrides OpenXmlWriter.Close().)
Public method Dispose() Closes the writer, and releases all resources. (Inherited from OpenXmlWriter.)
Protected method Dispose(Boolean) Closes the reader, and releases all resources. (Inherited from OpenXmlWriter.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method ThrowIfObjectDisposed Throw if object is disposed. (Inherited from OpenXmlWriter.)
Public method ToString (Inherited from Object.)
Public method WriteElement Write the OpenXmlElement to the writer. (Overrides OpenXmlWriter.WriteElement(OpenXmlElement).)
Public method WriteEndElement Closes one element. (Overrides OpenXmlWriter.WriteEndElement().)
Public method WriteStartDocument() Writes the XML declaration with the version "1.0". (Overrides OpenXmlWriter.WriteStartDocument().)
Public method WriteStartDocument(Boolean) Writes the XML declaration with the version "1.0" and the standalone attribute. (Overrides OpenXmlWriter.WriteStartDocument(Boolean).)
Public method WriteStartElement(OpenXmlElement) Writes out a start tag of the element and all the attributes of the element. (Overrides OpenXmlWriter.WriteStartElement(OpenXmlElement).)
Public method WriteStartElement(OpenXmlReader) Writes out a start element tag of the current element of the OpenXmlReader. And write all the attributes of the element. (Overrides OpenXmlWriter.WriteStartElement(OpenXmlReader).)
Public method WriteStartElement(OpenXmlElement, IEnumerable<OpenXmlAttribute>) Writes out a start tag of the element. And write the attributes in attributes. The attributes of the element will be omitted. (Overrides OpenXmlWriter.WriteStartElement(OpenXmlElement, IEnumerable<OpenXmlAttribute>).)
Public method WriteStartElement(OpenXmlReader, IEnumerable<OpenXmlAttribute>) Writes out a start element tag of the current element of the OpenXmlReader. And write the attributes in attributes. (Overrides OpenXmlWriter.WriteStartElement(OpenXmlReader, IEnumerable<OpenXmlAttribute>).)
Public method WriteStartElement(OpenXmlElement, IEnumerable<OpenXmlAttribute>, IEnumerable<KeyValuePair<String, String>>) Writes out a start tag of the element. And write the attributes in attributes. The attributes of the element will be omitted. (Overrides OpenXmlWriter.WriteStartElement(OpenXmlElement, IEnumerable<OpenXmlAttribute>, IEnumerable<KeyValuePair<String, String>>).)
Public method WriteStartElement(OpenXmlReader, IEnumerable<OpenXmlAttribute>, IEnumerable<KeyValuePair<String, String>>) Writes out a start element tag of the current element of the OpenXmlReader. And write the attributes in attributes. (Overrides OpenXmlWriter.WriteStartElement(OpenXmlReader, IEnumerable<OpenXmlAttribute>, IEnumerable<KeyValuePair<String, String>>).)
Public method WriteString Writes the given text content. (Overrides OpenXmlWriter.WriteString(String).)

Top

See Also

Reference

OpenXmlPartWriter Class

DocumentFormat.OpenXml Namespace