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

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

IConditionalOp2 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 IConditionalOp2

Classes Description