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.

Object Model

BaseCommand Class

Syntax

Visual Basic (Declaration) 
Public MustInherit Class BaseCommand 
   Implements ESRI.ArcGIS.SystemUI.ICommand 
Visual Basic (Usage)Copy Code
Dim instance As BaseCommand
C# 
public abstract class BaseCommand : ESRI.ArcGIS.SystemUI.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.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2011 All Rights Reserved.