[This is preliminary documentation and is subject to change.]
Represents a "command", typically a user action such as saving a file or executing a query.
| C# | Visual Basic | Visual C++ |
public interface ICommand
Public Interface ICommand
public interface class ICommand
| All Members | Methods | Properties | |||
| Icon | Member | Description |
|---|---|---|
| Enabled |
Gets a value indicating whether this ICommand is enabled.
| |
| Execute()()() |
Executes the command based on the current settings.
| |
| Name |
The name of the command, used in menus and buttons.
| |
| Services |
A reference to the application services to allow access to the other components.
| |
| ShortcutKeys |
Gets the menu shortcut keys for this command (e.g. Keys.F5).
| |
| SmallImage |
Gets the "small image" associated with this control (for use on buttons or menu items).
Use null (or Nothing in Visual Basic) if there is no image.
|