This document is archived and information here might be outdated.  Recommended version.


IRasterWorkspace.OpenRasterBand Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > DataSourcesRaster > ESRI.ArcGIS.DataSourcesRaster > Interfaces > IR > IRasterWorkspace Interface > IRasterWorkspace.OpenRasterBand Method
ArcGIS Developer Help

IRasterWorkspace.OpenRasterBand Method

Opens a RasterBand in the workspace given its name.

[Visual Basic .NET]
Public Function OpenRasterBand ( _
    ByVal Name As String _
) As IRasterBand
[C#]
public IRasterBand OpenRasterBand (
    string Name
);
[C++]
HRESULT OpenRasterBand(
  BSTR Name
);
[C++]
Parameters
Name [in]

Name is a parameter of type BSTR

Product Availability

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

See Also

IRasterWorkspace Interface