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


IConditionalOp2.Pick Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (SpatialAnalyst)  

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