Freigeben über


OpenXmlPartRootElement.Save-Methode

Saves the data in the DOM tree back to the part. It could be called multiple times as well. Each time it is called, the stream will be flushed.

Namespace:  DocumentFormat.OpenXml
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
Public Sub Save
'Usage
Dim instance As OpenXmlPartRootElement

instance.Save()
public void Save()

Ausnahmen

Ausnahme Bedingung
InvalidOperationException

Thrown when the tree is not associated with a part.

Hinweise

User must call this method explicitly to save the changes in the DOM tree.

Siehe auch

Referenz

OpenXmlPartRootElement Klasse

OpenXmlPartRootElement-Member

Save Überladung

DocumentFormat.OpenXml-Namespace