Share via


CalendarWriter.Dispose Method (Boolean)

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

Namespace:  Microsoft.Exchange.Data.ContentTypes.iCalendar
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
    Release both managed and unmanaged resources if set to true; releases only unmanaged resources if set to false.