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.BandByName Property (ArcObjects .NET 10.5 SDK) |
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