This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > DataSourcesRaster > ESRI.ArcGIS.DataSourcesRaster > Interfaces > IR > IRasterBandCollection Interface > IRasterBandCollection.Item Method (ArcObjects .NET 10.5 SDK) |
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