| CommandItemInfoAttribute Constructor (Boolean, Boolean, swWorkspaceTypes_e) |
Constructor for specifying additional information about command item
Namespace:
CodeStack.SwEx.AddIn.Attributes
Assembly:
CodeStack.SwEx.AddIn (in CodeStack.SwEx.AddIn.dll) Version: 0.8.1.0 (0.8.1.0)
Syntax public CommandItemInfoAttribute(
bool hasMenu,
bool hasToolbar,
swWorkspaceTypes_e suppWorkspaces
)
Public Sub New (
hasMenu As Boolean,
hasToolbar As Boolean,
suppWorkspaces As swWorkspaceTypes_e
)
public:
CommandItemInfoAttribute(
bool hasMenu,
bool hasToolbar,
swWorkspaceTypes_e suppWorkspaces
)
Parameters
- hasMenu
- Type: SystemBoolean
Indicates if this command should be displayed in the menu - hasToolbar
- Type: SystemBoolean
Indicates if this command should be displayed in the toolbar - suppWorkspaces
- Type: CodeStack.SwEx.AddIn.EnumsswWorkspaceTypes_e
Indicates the workspaces where this command is enabled. This information is used in the default command enable handler
See Also