This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > DataSourcesRaster > ESRI.ArcGIS.DataSourcesRaster > Interfaces > IR > IRasterBandCollection Interface > IRasterBandCollection.BandIndex Property (ArcObjects .NET 10.4 SDK) |
The index of a RasterBand given its name.
[Visual Basic .NET] Public Function get_BandIndex ( _ ByVal Name As String _ ) As Integer
[C#] public int get_BandIndex ( string Name );
[C++]
HRESULT get_BandIndex(
BSTR Name,
long* BandIndex
);
[C++]
Parameters Name [in] Name is a parameter of type BSTR BandIndex [out, retval] BandIndex is a parameter of type long