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


IRasterWorkspace.CreateRasterBand Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (DataSourcesRaster)  

IRasterWorkspace.CreateRasterBand Method

Creates a RasterBand in the workspace given its name.

[Visual Basic .NET]
Public Function CreateRasterBand ( _
    ByVal Name As String _
) As IRasterBand
[C#]
public IRasterBand CreateRasterBand (
    string Name
);
[C++]
HRESULT CreateRasterBand(
  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