Compartir a través de


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.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'Declaración
Public Property IsDisposed As Boolean
public bool IsDisposed { get; private set; }

Property Value

Type: System.Boolean
true if the object has already been disposed.

.NET Framework Security

See Also

Reference

DisposableObject Class

Microsoft.VisualStudio.PlatformUI Namespace