Share via


IEditor.CommandTarget 屬性

適用於版本2

取得命令目標。

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

語法

'宣告
ReadOnly Property CommandTarget As ICommandTarget 
    Get
'用途
Dim instance As IEditor 
Dim value As ICommandTarget 

value = instance.CommandTarget
ICommandTarget CommandTarget { get; }
property ICommandTarget^ CommandTarget {
    ICommandTarget^ get ();
}
abstract CommandTarget : ICommandTarget
function get CommandTarget () : ICommandTarget

屬性值

型別:Microsoft.WebMatrix.Extensibility.ICommandTarget
命令目標。

備註

編輯器可以選擇性地支援一組命令。如果編輯器不在意命令,則這可以傳回 null。

請參閱

參考

IEditor 介面

Microsoft.WebMatrix.Extensibility.Editor 命名空間