Occurs when this command is clicked.
[Visual Basic .NET]
Public Sub OnClick ( _
)
[C#]
public void OnClick (
);
[C++]
HRESULT OnClick(
void
);
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
Remarks
When implementing ICommand to create a custom command, write the
code that performs the action when the command is clicked in the
OnClick method.
See Also
ICommand Interface
.NET Samples
Displaying MOLE symbology with the GlobeControl (Code Files:
MainForm) |
Implementing a property page for an ArcGIS Engine application (Code Files:
frmMain) |
Save a layer file in a MapControl application (Code Files:
frmMain) |
Schematics Engine application (Code Files:
MainForm) |
Simple dynamic display application (Code Files:
MainForm) |
Synchronized MapControl and PageLayoutControl application (Code Files:
frmMain) |
Temporal statistics (Code Files:
MainForm) |
.NET Related Topics
Building a context menu with dynamic command items |
How to create a command or tool to work with the controls |