Compartilhar via


OpenXmlPackage.Dispose Method

Flushes and saves the content, closes the document, and releases all resources.

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

Syntax

'Declaration
Public Sub Dispose
'Usage
Dim instance As OpenXmlPackage

instance.Dispose()
public void Dispose()

Implements

IDisposable.Dispose()

See Also

Reference

OpenXmlPackage Class

OpenXmlPackage Members

Dispose Overload

DocumentFormat.OpenXml.Packaging Namespace