Share via


MimePart.Dispose Method (Boolean)

The Dispose method releases the unmanaged resources used by the MimePart class and optionally releases the managed resources.

Namespace:  Microsoft.Exchange.Data.Mime
Assembly:  Microsoft.Exchange.Data.Common (in Microsoft.Exchange.Data.Common.dll)

Syntax

'Declaration
Protected Overridable Sub Dispose ( _
    disposing As Boolean _
)
'Usage
Dim disposing As Boolean

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

Parameters

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