Share via


IHostCommands 介面

適用於版本2

提供用於存取主機所公開之命令的屬性和方法。

命名空間:  Microsoft.WebMatrix.Extensibility
組件:  Microsoft.WebMatrix.Extensibility (在 Microsoft.WebMatrix.Extensibility.dll 中)

語法

'宣告
Public Interface IHostCommands
'用途
Dim instance As IHostCommands
public interface IHostCommands
public interface class IHostCommands
type IHostCommands =  interface end
public interface IHostCommands

IHostCommands 型別公開下列成員。

屬性

  名稱 說明
公用屬性 Copy 取得 "copy" 命令。
公用屬性 Cut 取得 "cut" 命令。
公用屬性 Exit 取得 "exit" 命令。
公用屬性 OpenFileInEditor 取得 "open file in editor" 命令。
公用屬性 Paste 取得 "paste" 命令。
公用屬性 Refresh 取得 "refresh" 命令。

上層

方法

  名稱 說明
公用方法 GetCommand 取得或建立群組和識別碼所識別的任意命令。

上層

請參閱

參考

Microsoft.WebMatrix.Extensibility 命名空間