Skip to content
This repository has been archived by the owner on Oct 23, 2021. It is now read-only.

sp core library.idisposable

John Nguyen edited this page Apr 22, 2021 · 2 revisions

Home > @microsoft/sp-core-library > IDisposable

IDisposable interface

Implemented by an object that supports a disposal lifecycle.

Signature:

export interface IDisposable

Remarks

The dispose event allows an object to free any resources that it allocated before its lifecycle ends.

Properties

Property Type Description
isDisposed boolean Returns true if the dispose() method has been called. Once an object is disposed, it remains in this state permanently.

Methods

Method Description
dispose() This method is called to permanently dispose the object.
Clone this wiki locally