Поделиться через


RecognizerContext.Dispose - метод

Обновлен: Ноябрь 2007

Releases all resources used by the RecognizerContext object.

Пространство имен:  Microsoft.Ink
Сборка:  Microsoft.Ink (в Microsoft.Ink.dll)

Синтаксис

'Декларация
Public Sub Dispose
'Применение
Dim instance As RecognizerContext

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

Реализации

IDisposable.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 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 or control 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

См. также

Ссылки

RecognizerContext Класс

RecognizerContext - члены

Dispose - перегрузка

Microsoft.Ink - пространство имен

RecognizerContext.Dispose