DynamicRenderer.Dispose Method
Releases resources used by the DynamicRenderer object.
Namespace: Microsoft.StylusInput
Assembly: Microsoft.Ink (in Microsoft.Ink.dll)
Syntax
'Declaration
Public Sub Dispose
'Usage
Dim instance As DynamicRenderer
instance.Dispose()
public void Dispose()
public:
virtual void Dispose() sealed
public final function Dispose()
Implements
Remarks
Calling the Dispose method allows the resources used by the object to be reallocated for other purposes.
Warning
To avoid a memory leak you must explicitly call the dispose method on any object or control in the Tablet and Touch Technology sections of the Windows SDK Tablet PC SDK to which an event handler has been attached.
If the Dispose method is defined, dispose of each class instance when it is no longer needed, before the object or control goes out of scope. Disposing of these objects will improve your application's performance.
Platforms
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003
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