InkOverlay.Finalize - метод
Обновлен: Ноябрь 2007
Frees the resources of the current InkOverlay 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()
Заметки
In C# and Managed C++, finalizers are expressed using destructor syntax.
Примечание. |
---|
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 Object.Finalize method. Application code should not call this method; a InkOverlay object's Finalize method is automatically invoked during garbage collection, unless finalization by the garbage collector has been disabled by a call to the GC.SuppressFinalize method. For more information, see Finalize Methods and Destructors, Cleaning, and Overriding the Finalize Method, in the Microsoft .NET Framework software development kit (SDK).
Платформы
Windows Vista
Среды .NET Framework и .NET Compact Framework поддерживают не все версии каждой платформы. Поддерживаемые версии перечислены в разделе Требования к системе для .NET Framework.
Сведения о версии
.NET Framework
Поддерживается в версии: 3.0