INotifyObjectDisposed.IsDisposed Property

 

Gets whether the an object is disposed.

Namespace:   Microsoft.VisualStudio.SharePoint
Assembly:  Microsoft.VisualStudio.SharePoint (in Microsoft.VisualStudio.SharePoint.dll)

bool IsDisposed { get; }

Property Value

Type: System.Boolean

True if the object is disposed; false otherwise.

It is safe to check this property even after object is disposed. If a class implements INotifyPropertyChanged, then the PropertyChanged event will be raised for this property when the object becomes disposed.

Return to top
Show: