IHostCommands.OpenFileInEditor 属性
适用于版本2
获取“在编辑器中打开文件”命令。
命名空间: 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
“在编辑器中打开文件”命令。
注释
参数为文件的路径。