PenInputPanel.Dispose - метод
Обновлен: Ноябрь 2007
Deprecated. Releases all resources used by the PenInputPanel object. PenInputPanel has been replaced by Microsoft.Ink.TextInput.
Пространство имен: Microsoft.Ink
Сборка: Microsoft.Ink (в Microsoft.Ink.dll)
Синтаксис
'Декларация
Public Sub Dispose
'Применение
Dim instance As PenInputPanel
instance.Dispose()
public void Dispose()
public:
virtual void Dispose() sealed
public final void Dispose()
public final function Dispose()
Реализации
Заметки
Calling Dispose() allows the resources used by the object to be reallocated for other purposes. For more information about garbage collection, see Programming for Garbage Collection.
Предупреждение
To avoid a memory leak you must explicitly call this methodon 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.
Платформы
Windows Vista
Среды .NET Framework и .NET Compact Framework поддерживают не все версии каждой платформы. Поддерживаемые версии перечислены в разделе Требования к системе для .NET Framework.
Сведения о версии
.NET Framework
Поддерживается в версии: 3.0