DataObjectEventArgs.CommandCancelled 屬性

定義

取得值,這個值表示相關聯的命令或作業是否已取消。

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

屬性值

如果命令已取消則為 true,否則為 false

備註

呼叫 方法, CancelCommand 將此屬性設定為 true ,並取消相關聯的命令或作業。

適用於