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


IConditionalOp2.Pick Method (ArcObjects .NET 10.5 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,
  IGeoDataset** Pick
);
[C++]

Parameters valueRaster [in]
valueRaster is a parameter of type IGeoDataset collectionOfRasters [in]
collectionOfRasters is a parameter of type IArray Pick [out, retval]
Pick is a parameter of type IGeoDataset

Product Availability

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

See Also

IConditionalOp2 Interface