ICommandService 介面
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
代表一個指令介面,用於整合 Windows 工作流程設計器動作(例如右鍵選單)與自訂實作,如屬性瀏覽器服務、除錯服務等。
public interface class ICommandService
public interface ICommandService
type ICommandService = interface
Public Interface ICommandService
方法
| 名稱 | Description |
|---|---|
| CanExecuteCommand(Int32) |
驗證指定指令是否可執行。 |
| ExecuteCommand(Int32, Dictionary<String,Object>) |
執行指定的指令識別碼與參數。 |
| IsCommandSupported(Int32) |
回傳一個布林值,指示是否支援指定的指令識別碼。 |