ChangeMonitor.IsDisposed 属性

定义

获取一个值,该值指示释放 ChangeMonitor 类的派生实例。Gets a value that indicates that the derived instance of a ChangeMonitor class is disposed.

public:
 property bool IsDisposed { bool get(); };
public bool IsDisposed { get; }
member this.IsDisposed : bool
Public ReadOnly Property IsDisposed As Boolean

属性值

Boolean

如果释放该实例,则为 true;否则为 falsetrue if the instance is disposed; otherwise, false.

注解

true当基 Dispose 方法 Dispose 在派生类中调用方法以释放实例时,属性设置为。The property is set to true after the base Dispose method calls the Dispose method in a derived class to dispose of the instance.

适用于