Freigeben über


OpenXmlWriter-Member

Geschützte Member einschließen
Geerbte Member einschließen

Defines the OpenXmlWriter.

Vom OpenXmlWriter-Typ werden die folgenden Member offengelegt.

Konstruktoren

  Name Beschreibung
Geschützte Methode OpenXmlWriter Initializes a new instance of the OpenXmlWriter.

Nach oben

Methoden

  Name Beschreibung
Öffentliche Methode Close Close the writer.
Öffentliche MethodeStatischer Member Create(Stream) Create an OpenXmlWriter on a given stream.
Öffentliche MethodeStatischer Member Create(OpenXmlPart) Create an OpenXmlWriter from the OpenXmlPart.
Öffentliche MethodeStatischer Member Create(Stream, Encoding) Create an OpenXmlWriter on given stream
Öffentliche MethodeStatischer Member Create(OpenXmlPart, Encoding) Create an OpenXmlWriter from the OpenXmlPart.
Öffentliche Methode Dispose() Closes the writer, and releases all resources.
Geschützte Methode Dispose(Boolean) Closes the reader, and releases all resources.
Öffentliche Methode Equals (Geerbt von Object.)
Geschützte Methode Finalize (Geerbt von Object.)
Öffentliche Methode GetHashCode (Geerbt von Object.)
Öffentliche Methode GetType (Geerbt von Object.)
Geschützte Methode MemberwiseClone (Geerbt von Object.)
Geschützte Methode ThrowIfObjectDisposed Throw if object is disposed.
Öffentliche Methode ToString (Geerbt von Object.)
Öffentliche Methode WriteElement Write the OpenXmlElement to the writer.
Öffentliche Methode WriteEndElement Closes one element.
Öffentliche Methode WriteStartDocument() Writes the XML declaration with the version "1.0".
Öffentliche Methode WriteStartDocument(Boolean) Writes the XML declaration with the version "1.0" and the standalone attribute.
Öffentliche Methode WriteStartElement(OpenXmlElement) Writes out a start tag of the element and all the attributes of the element.
Öffentliche Methode WriteStartElement(OpenXmlReader) Writes out a start element tag of the current element of the OpenXmlReader. And write all the attributes of the element.
Öffentliche Methode 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.
Öffentliche Methode WriteStartElement(OpenXmlReader, IEnumerable<OpenXmlAttribute>) Writes out a start element tag of the current element of the OpenXmlReader. And write the attributes in attributes.
Öffentliche Methode 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.
Öffentliche Methode 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.
Öffentliche Methode WriteString When overridden in a derived class, writes the given text content.

Nach oben

Siehe auch

Referenz

OpenXmlWriter Klasse

DocumentFormat.OpenXml-Namespace