ESRI.ArcGIS.ADF
BaseCommand Class
Members  See Also  Send comments on this topic.
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) 
<ObsoleteAttribute("The assembly containing this class is obsolete.  Reference the ESRI.ArcGIS.ADF.Local assembly instead.")>
Public MustInherit Class BaseCommand 
   Implements ICommand 
Visual Basic (Usage)Copy Code
Dim instance As BaseCommand
C# 
[ObsoleteAttribute("The assembly containing this class is obsolete.  Reference the ESRI.ArcGIS.ADF.Local assembly instead.")]
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.