A RasterBand given its name.
[Visual Basic .NET] Public Function get_BandByName ( _ ByVal Name As String _ ) As IRasterBand
[C#] public IRasterBand get_BandByName ( string Name );
[C++]
HRESULT get_BandByName(
BSTR Name,
IRasterBand** band
);
[C++]Parameters
Name [in] Name is a parameter of type BSTR band [out, retval]band is a parameter of type IRasterBand
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.