共用方式為


IHostCommands.OpenFileInEditor 屬性

適用於版本2

取得 "open file in editor" 命令。

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

語法

'宣告
ReadOnly Property OpenFileInEditor As ICommand 
    Get
'用途
Dim instance As IHostCommands 
Dim value As ICommand 

value = instance.OpenFileInEditor
ICommand OpenFileInEditor { get; }
property ICommand^ OpenFileInEditor {
    ICommand^ get ();
}
abstract OpenFileInEditor : ICommand
function get OpenFileInEditor () : ICommand

屬性值

型別:System.Windows.Input.ICommand
"open file in editor" 命令。

備註

參數是檔案的路徑。

請參閱

參考

IHostCommands 介面

Microsoft.WebMatrix.Extensibility 命名空間