Freigeben über


OpenXmlPackage.Dispose-Methode (Boolean)

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
Protected Overridable Sub Dispose ( _
    disposing As Boolean _
)
'Usage
Dim disposing As Boolean

Me.Dispose(disposing)
protected virtual void Dispose(
    bool disposing
)

Parameter

  • disposing
    Typ: System.Boolean
    true to release both managed and unmanaged resources; false to release only unmanaged resources.

Siehe auch

Referenz

OpenXmlPackage Klasse

OpenXmlPackage-Member

Dispose Überladung

DocumentFormat.OpenXml.Packaging-Namespace