Share via


Document.Save(MainDocumentPart) Method

Definition

Saves the DOM into the MainDocumentPart.

public void Save (DocumentFormat.OpenXml.Packaging.MainDocumentPart openXmlPart);
override this.Save : DocumentFormat.OpenXml.Packaging.MainDocumentPart -> unit
Public Sub Save (openXmlPart As MainDocumentPart)

Parameters

openXmlPart
MainDocumentPart

Specifies the part to save to.

Applies to