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

声明
Public Sub Dispose
用法
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