ArcObjects Library Reference (DataSourcesRaster)  

IRasterBandCollection.Item Method

Returns a RasterBand given its index.

[Visual Basic .NET]
Public Function Item ( _
    ByVal BandIndex As Integer _
) As IRasterBand
[C#]
public IRasterBand Item (
    int BandIndex
);
[C++]
HRESULT Item(
  long BandIndex,
  IRasterBand** band
);
[C++]

Parameters

BandIndex [in]   BandIndex is a parameter of type long band [out, retval]

  band is a parameter of type IRasterBand

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IRasterBandCollection Interface