Share via


INotifyObjectDisposed.IsDisposed Property

Gets whether the an object is disposed.

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

Syntax

'Declaration
ReadOnly Property IsDisposed As Boolean
bool IsDisposed { get; }

Property Value

Type: Boolean
True if the object is disposed; false otherwise.

Remarks

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.

.NET Framework Security

See Also

Reference

INotifyObjectDisposed Interface

Microsoft.VisualStudio.SharePoint Namespace