Divider.Dispose Method (Boolean)
Releases resources used by the Divider object.
Namespace: Microsoft.Ink
Assembly: Microsoft.Ink (in Microsoft.Ink.dll)
Syntax
'Declaration
Protected Overridable Sub Dispose ( _
disposing As Boolean _
)
'Usage
Dim disposing As Boolean
Me.Dispose(disposing)
protected virtual void Dispose(
bool disposing
)
protected:
virtual void Dispose(
bool disposing
)
protected function Dispose(
disposing : boolean
)
Parameters
disposing
Type: System.Booleantrue to release the resources used by the object.
Remarks
Calling this method allows the resources used by the object to be reallocated for other purposes. For more information about garbage collection, see Programming for Garbage Collection.
Caution |
Starting with the Windows Tablet PC SDK, manually dispose of class instances that are no longer needed and use the Dispose method: disposing of these instances before they go out of scope will improve application performance. To avoid memory leaks, explicitly call the Dispose method on any Divider object to which an event handler is attached.
Platforms
Windows 7, Windows Vista, Windows Server 2008 R2, Windows Server 2008
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Version Information
.NET Framework
Supported in: 3.0