menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class NonFinalizeDisposable - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class NonFinalizeDisposable

    This is a base class for Disposable. It implements the IDisposable interface as suggested in the .NET documentation using the Disposable pattern but it does not implement a finalizer. If you need finalization you need to derive from Disposable or add a finalizer to your derived class and manually call Dispose from the Finalizer.

    Inheritance
    System.Object
    NonFinalizeDisposable
    Disposable
    Implements
    System.IDisposable
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.Windows.Forms.CellGrid.Collections.ComponentModel
    Assembly: Syncfusion.Spreadsheet.Windows.dll
    Syntax
    public class NonFinalizeDisposable : IDisposable

    Constructors

    NonFinalizeDisposable()

    Declaration
    public NonFinalizeDisposable()

    Methods

    Dispose()

    Releases all resources used by the Component.

    Declaration
    public void Dispose()

    Dispose(Boolean)

    Releases the unmanaged resources used by the Component and optionally releases the managed resources.

    Declaration
    protected virtual void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing

    true to release both managed and unmanaged resources; false to release only unmanaged resources.

    Remarks

    See the documentation for the System.ComponentModel.Component class and its Dispose member.

    Implements

    System.IDisposable
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved