Share via


Divider.Dispose Method

Releases resources used by the Divider object.

Namespace:  Microsoft.Ink
Assembly:  Microsoft.Ink (in Microsoft.Ink.dll)

Syntax

'Declaration
Public Sub Dispose
'Usage
Dim instance As Divider

instance.Dispose()
public void Dispose()
public:
virtual void Dispose() sealed
public final function Dispose()

Implements

IDisposable.Dispose()

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  

If a class instance of any object in the Microsoft.Ink namespace is no longer needed, dispose of the instance before it goes out of scope. 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

See Also

Reference

Divider Class

Divider Members

Dispose Overload

Microsoft.Ink Namespace