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


IConditionalOp2.Pick Method (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 > IConditionalOp2.Pick Method
ArcGIS Developer Help

IConditionalOp2.Pick Method

Using the values of 'valueRaster', determines which raster in 'collectionofRasters' will be used for the output values.

[Visual Basic .NET]
Public Function Pick ( _
    ByVal valueRaster As IGeoDataset, _
    ByVal collectionOfRasters As IArray _
) As IGeoDataset
[C#]
public IGeoDataset Pick (
    IGeoDataset valueRaster,
    IArray collectionOfRasters
);
[C++]
HRESULT Pick(
  IGeoDataset* valueRaster,
  IArray* collectionOfRasters
);
[C++]
Parameters
valueRaster [in]

valueRaster is a parameter of type IGeoDataset* collectionOfRasters [in]
collectionOfRasters is a parameter of type IArray*

Product Availability

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

See Also

IConditionalOp2 Interface