Divider.Dispose Method
Divider.Dispose Method |
Releases resources used by the Divider object.
Definition
Visual Basic .NET Overridable Protected Sub Dispose( _
ByVal disposing As Boolean _
)C# protected virtual void Dispose(
bool disposing
);Managed C++ protected: virtual void Dispose(
bool disposing
);
Parameters
disposing System.Boolean.
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: To avoid a memory leak you must explicitly call this method on any object or control in the Microsoft® Windows® XP Tablet PC Edition Software Development Kit (SDK) to which an event handler has been attached before the object orcontrol goes out of scope.
For any class in the Tablet PC SDK on which the Dispose method is defined, manually dispose of each instance of that class when it is no longer needed. Disposing of these objects improves your application's performance.