The following tables list the members exposed by BaseCommand.
Protected Fields
| Name | Description |
![Protected Field](/en/sdk/10.0/arcobjects_net/componenthelp/0007/dotnetimages/ProtectedField.gif) | m_bitmap |
The bitmap that is used as the icon on this command, returned by the ICommand::Bitmap property.
Null by default.
|
![Protected Field](/en/sdk/10.0/arcobjects_net/componenthelp/0007/dotnetimages/ProtectedField.gif) | m_caption |
The caption of this command, returned by the ICommand::Caption property.
Null by default.
|
![Protected Field](/en/sdk/10.0/arcobjects_net/componenthelp/0007/dotnetimages/ProtectedField.gif) | m_category |
The name of the category with which the command is associated, returned by the ICommand::Category property.
Null by default.
|
![Protected Field](/en/sdk/10.0/arcobjects_net/componenthelp/0007/dotnetimages/ProtectedField.gif) | m_checked |
The checked state of this command, returned from the ICommand::Checked property.
False by default.
|
![Protected Field](/en/sdk/10.0/arcobjects_net/componenthelp/0007/dotnetimages/ProtectedField.gif) | m_enabled |
The state of this command, returned from the ICommand::Enabled property.
True by default.
|
![Protected Field](/en/sdk/10.0/arcobjects_net/componenthelp/0007/dotnetimages/ProtectedField.gif) | m_helpFile |
The name of the helpfile associated with this command, returned by the ICommand::Helpfile property.
Null by default.
|
![Protected Field](/en/sdk/10.0/arcobjects_net/componenthelp/0007/dotnetimages/ProtectedField.gif) | m_helpID |
The help context ID associated with this command, used to specify the mapped numeric value of the topic ID of the context sensitive help topic for the command.
Null by default.
|
![Protected Field](/en/sdk/10.0/arcobjects_net/componenthelp/0007/dotnetimages/ProtectedField.gif) | m_message |
The statusbar message for this command, returned by the ICommand::Message property.
Null by default.
|
![Protected Field](/en/sdk/10.0/arcobjects_net/componenthelp/0007/dotnetimages/ProtectedField.gif) | m_name |
A string used for identification of this command, returned by the ICommand::Name property.
Null by default.
|
![Protected Field](/en/sdk/10.0/arcobjects_net/componenthelp/0007/dotnetimages/ProtectedField.gif) | m_toolTip |
The tooltip for this command, returned from the ICommand::Tooltip property.
Null by default.
|
Top
Public Properties
| Name | Description |
![Public Property](/en/sdk/10.0/arcobjects_net/componenthelp/0007/dotnetimages/PublicProperty.gif) | Bitmap |
Gets the bitmap that is used as the icon on this command, shown when the command is placed on a toolbar in Icon mode.
|
![Public Property](/en/sdk/10.0/arcobjects_net/componenthelp/0007/dotnetimages/PublicProperty.gif) | Caption |
The caption of this command, shown when the command is placed on a toolbar in Caption mode.
|
![Public Property](/en/sdk/10.0/arcobjects_net/componenthelp/0007/dotnetimages/PublicProperty.gif) | Category |
The name of the category with which the command is associated, used by the Customize dialog box.
|
![Public Property](/en/sdk/10.0/arcobjects_net/componenthelp/0007/dotnetimages/PublicProperty.gif) | Checked |
Indicates whether or not this command is checked.
|
![Public Property](/en/sdk/10.0/arcobjects_net/componenthelp/0007/dotnetimages/PublicProperty.gif) | Enabled |
The enabled state of this command, determines whether the command is usable.
|
![Public Property](/en/sdk/10.0/arcobjects_net/componenthelp/0007/dotnetimages/PublicProperty.gif) | HelpContextID |
The help context ID associated with this command, used to specify the mapped numeric value of the topic ID of the context sensitive help topic for the command.
Null by default.
|
![Public Property](/en/sdk/10.0/arcobjects_net/componenthelp/0007/dotnetimages/PublicProperty.gif) | HelpFile |
The name of the helpfile associated with this command.
Used to specify the name of the help file that contains the context sensitive help topic for the command.
|
![Public Property](/en/sdk/10.0/arcobjects_net/componenthelp/0007/dotnetimages/PublicProperty.gif) | Message |
The statusbar message for this command, appears in the application status bar when the mouse passes
over the command.
|
![Public Property](/en/sdk/10.0/arcobjects_net/componenthelp/0007/dotnetimages/PublicProperty.gif) | Name |
A string used for programmatic identification of this command.
|
![Public Property](/en/sdk/10.0/arcobjects_net/componenthelp/0007/dotnetimages/PublicProperty.gif) | Tooltip |
The tooltip for this command, appears in the screen tip when the mouse hovers over the command.
|
Top
Public Methods
| Name | Description |
![Public Method](/en/sdk/10.0/arcobjects_net/componenthelp/0007/dotnetimages/PublicMethod.gif) ![static (Shared in Visual Basic)](/en/sdk/10.0/arcobjects_net/componenthelp/0007/dotnetimages/static.gif) | GetHBitmap |
Creates an HBITMAP from the specified Bitmap, preserving the alpha-channel.
|
![Public Method](/en/sdk/10.0/arcobjects_net/componenthelp/0007/dotnetimages/PublicMethod.gif) | OnClick |
Called when the user clicks a command.
|
![Public Method](/en/sdk/10.0/arcobjects_net/componenthelp/0007/dotnetimages/PublicMethod.gif) | OnCreate |
Called when the command is created inside the application.
|
![Public Method](/en/sdk/10.0/arcobjects_net/componenthelp/0007/dotnetimages/PublicMethod.gif) | UpdateBitmap | Changes the Bitmap for the command. Call this method to update the
icon used for the command at runtime, after the command has already been
instantiated. |
Top
Protected Methods
| Name | Description |
![Protected Method](/en/sdk/10.0/arcobjects_net/componenthelp/0007/dotnetimages/ProtectedMethod.gif) | Finalize | Overridden.
Destructor. Cleans up GDI resources used by the BaseCommand.
|
Top
See Also