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


Divider.Dispose - метод (Boolean)

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

Releases resources used by the Divider object.

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

Синтаксис

'Декларация
Protected Overridable Sub Dispose ( _
    disposing As Boolean _
)
'Применение
Dim disposing As Boolean

Me.Dispose(disposing)
protected virtual void Dispose(
    bool disposing
)
protected:
virtual void Dispose(
    bool disposing
)
protected void Dispose(
    boolean disposing
)
protected function Dispose(
    disposing : boolean
)

Параметры

  • disposing
    Тип: System.Boolean
    true to release the resources used by the object.

Заметки

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  

Starting with the Windows Tablet PC SDK, manually dispose of class instances that are no longer needed and use the Dispose method: disposing of these instances before they go out of scope will improve application performance. To avoid memory leaks, explicitly call the Dispose method on any Divider object to which an event handler is attached.

Платформы

Windows Vista

Среды .NET Framework и .NET Compact Framework поддерживают не все версии каждой платформы. Поддерживаемые версии перечислены в разделе Требования к системе для .NET Framework.

Сведения о версии

.NET Framework

Поддерживается в версии: 3.0

См. также

Ссылки

Divider Класс

Divider - члены

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

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