Ink.Finalize - метод
Обновлен: Ноябрь 2007
Frees the resources of the current Ink object before it is reclaimed by the garbage collector.
Пространство имен: Microsoft.Ink
Сборка: Microsoft.Ink (в Microsoft.Ink.dll)
Синтаксис
'Декларация
Protected Overrides Sub Finalize
'Применение
Me.Finalize()
protected override void Finalize()
protected:
virtual void Finalize() override
protected void Finalize()
protected override function Finalize()
Заметки
[C#] In C#, finalizers are expressed by using destructor syntax.
[Managed C++] In Managed C++, finalizers are expressed by using destructor syntax.
Примечание. |
---|
to Inheritors When overriding the Finalize method in a derived class, call the Finalize method of the base class so that the object's resources are properly released. |
This method overrides the Finalize method. Application code should not call this method; a Ink object's Finalize method is automatically invoked during garbage collection, unless finalization by the garbage collector has been disabled by a call to the SuppressFinalize method. For more information, see Finalize Methods and Destructors, Очистка неуправляемых ресурсов , and Переопределение метода Finalize, in the Microsoft® .NET Framework software development kit (SDK).
Платформы
Windows Vista
Среды .NET Framework и .NET Compact Framework поддерживают не все версии каждой платформы. Поддерживаемые версии перечислены в разделе Требования к системе для .NET Framework.
Сведения о версии
.NET Framework
Поддерживается в версии: 3.0