共用方式為


PresentationSource.IsDisposed 屬性

定義

在衍生類別中覆寫時,取得值以宣告這個物件是否已處置。

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

屬性值

Boolean

如果物件已處置,則為 true,否則為 false

給實施者的注意事項

衍生類別必須是實 IDisposable 作或提供對等的行為。

適用於