Share via


INotifyObjectDisposed.IsDisposed Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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: System.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