This document is archived and information here might be outdated.  Recommended version.

IRasterCommand2.CanExecute Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > DataSourcesRaster > ESRI.ArcGIS.DataSourcesRaster > Interfaces > IR > IRasterCommand2 Interface > IRasterCommand2.CanExecute Method
ArcGIS Developer Help

IRasterCommand2.CanExecute Method

Indicates if this command can execute itself.

[Visual Basic .NET]
Public Function CanExecute ( _
) As Boolean
public bool CanExecute (
HRESULT CanExecute(

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IRasterCommand2 Interface