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

IConditionalOp Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > SpatialAnalyst > ESRI.ArcGIS.SpatialAnalyst > Interfaces > IC > IConditionalOp Interface
ArcGIS Developer Help

IConditionalOp Interface

Provides access to members that control the conditional operations.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Spatial Analyst Extension.


Name Description
Method Con Performs a conditional if/else evaluation.
Method Pick Using the values of 'valueRaster', determines which raster in 'collectionofRasters' will be used for the output values.
Method SetNull Returns NoData if the evaluation of the input 'conditionalRaster' is true, or returns the value specified by the 'falseRaster' if it is false, on a cell by cell basis.

Classes that implement IConditionalOp

Classes Description
RasterConditionalOp A mechanism for performing conditional operations on rasters.