ESRI.ArcGIS.ADF.Local
BaseCommand Class
Members  See Also  Send Feedback
ESRI.ArcGIS.ADF.BaseClasses Namespace : BaseCommand Class




An abstract class designed to provide an efficient way to create new custom command items. Inherit BaseCommand to create a new custom command.

Syntax

Visual Basic (Declaration) 
Public MustInherit Class BaseCommand 
   Implements ICommand 
Visual Basic (Usage)Copy Code
Dim instance As BaseCommand
C# 
public abstract class BaseCommand : ICommand  

Remarks

Note to inheritors: You must override the OnCreate method; generally in this method you should store a reference to the command host which is passed as a parameter to this method. Override the OnClick method and add the code which performs the main actions of your custom command class.

Inheritance Hierarchy

System.Object
   ESRI.ArcGIS.ADF.BaseClasses.BaseCommand
      ESRI.ArcGIS.ADF.BaseClasses.BaseTool

See Also

© 2010 All Rights Reserved.