Click or drag to resize

OpenXmlPartWriter Methods

The OpenXmlPartWriter type exposes the following members.

Methods
 NameDescription
Public methodClose Close the writer.
(Overrides OpenXmlWriterClose)
Public methodDispose Closes the writer, and releases all resources.
(Inherited from OpenXmlWriter)
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 methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodWriteElement Write the OpenXmlElement to the writer.
(Overrides OpenXmlWriterWriteElement(OpenXmlElement))
Public methodWriteEndElement Closes one element.
(Overrides OpenXmlWriterWriteEndElement)
Public methodWriteStartDocument Writes the XML declaration with the version "1.0".
(Overrides OpenXmlWriterWriteStartDocument)
Public methodWriteStartDocument(Boolean) Writes the XML declaration with the version "1.0" and the standalone attribute.
(Overrides OpenXmlWriterWriteStartDocument(Boolean))
Public methodWriteStartElement(OpenXmlElement) Writes out a start tag of the element and all the attributes of the element.
(Overrides OpenXmlWriterWriteStartElement(OpenXmlElement))
Public methodWriteStartElement(OpenXmlReader) Writes out a start element tag of the current element of the OpenXmlReader. And write all the attributes of the element.
(Overrides OpenXmlWriterWriteStartElement(OpenXmlReader))
Public methodWriteStartElement(OpenXmlElement, IEnumerableOpenXmlAttribute) Writes out a start tag of the element. And write the attributes in attributes. The attributes of the element will be omitted.
(Overrides OpenXmlWriterWriteStartElement(OpenXmlElement, IEnumerableOpenXmlAttribute))
Public methodWriteStartElement(OpenXmlReader, IEnumerableOpenXmlAttribute) Writes out a start element tag of the current element of the OpenXmlReader. And write the attributes in attributes.
(Overrides OpenXmlWriterWriteStartElement(OpenXmlReader, IEnumerableOpenXmlAttribute))
Public methodWriteStartElement(OpenXmlElement, IEnumerableOpenXmlAttribute, IEnumerableKeyValuePairString, String) Writes out a start tag of the element. And write the attributes in attributes. The attributes of the element will be omitted.
(Overrides OpenXmlWriterWriteStartElement(OpenXmlElement, IEnumerableOpenXmlAttribute, IEnumerableKeyValuePairString, String))
Public methodWriteStartElement(OpenXmlReader, IEnumerableOpenXmlAttribute, IEnumerableKeyValuePairString, String) Writes out a start element tag of the current element of the OpenXmlReader. And write the attributes in attributes.
(Overrides OpenXmlWriterWriteStartElement(OpenXmlReader, IEnumerableOpenXmlAttribute, IEnumerableKeyValuePairString, String))
Public methodWriteString Writes the given text content.
(Overrides OpenXmlWriterWriteString(String))
Top
See Also