語言

ICommandService 介面

定義

代表一個指令介面,用於整合 Windows 工作流程設計器動作(例如右鍵選單)與自訂實作,如屬性瀏覽器服務、除錯服務等。

public interface class ICommandService
public interface ICommandService
type ICommandService = interface
Public Interface ICommandService

方法

名稱 Description
CanExecuteCommand(Int32)

驗證指定指令是否可執行。

ExecuteCommand(Int32, Dictionary<String,Object>)

執行指定的指令識別碼與參數。

IsCommandSupported(Int32)

回傳一個布林值,指示是否支援指定的指令識別碼。

適用於