Visual Basic (Declaration) | |
---|---|
Protected Overrides Sub Finalize() |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
protected override void Finalize() |
C++/CLI | |
---|---|
protected: void Finalize(); override |
For an example, refer to RasterImage.
The RasterImage class implements the IDisposable interface, it is recommended that you follow the standard .NET dispose pattern when using the RasterImage class. For more information, refer to the IDisposable interface documentation in MSDN, the IsDisposed property and the RasterImage.Disposed event.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family