DisposableObject.IsDisposed Property
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Returns whether the object has been disposed once, which protects against double disposal.
Namespace: Microsoft.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
Syntax
'Declaration
Public Property IsDisposed As Boolean
public bool IsDisposed { get; private set; }
public:
property bool IsDisposed {
bool get ();
private: void set (bool value);
}
member IsDisposed : bool with get, private set
function get IsDisposed () : boolean
private function set IsDisposed (value : boolean)
Property Value
Type: Boolean
true if the object has already been disposed.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.