Partilhar via


IEditor.CommandTarget Property

Applies to v2.

Gets the command target.

Namespace:  Microsoft.WebMatrix.Extensibility.Editor
Assembly:  Microsoft.WebMatrix.Extensibility (in Microsoft.WebMatrix.Extensibility.dll)

Syntax

'Declaration
ReadOnly Property CommandTarget As ICommandTarget 
    Get
'Usage
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

Property Value

Type: Microsoft.WebMatrix.Extensibility.ICommandTarget
The command target.

Remarks

The editor can optionally support a set of commands. This can return null if the editor does not care about commands.

See Also

Reference

IEditor Interface

Microsoft.WebMatrix.Extensibility.Editor Namespace