IRasterBand.Copy Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (DataSourcesRaster)  

IRasterBand.Copy Method

Copies this raster band to a new dataset with the specified name.

[Visual Basic .NET]
Public Function Copy ( _
    ByVal copyName As String, _
    ByVal copyWorkspace As IWorkspace _
) As IDataset
public IDataset Copy (
    string copyName,
    IWorkspace copyWorkspace
  BSTR copyName,
  IWorkspace* copyWorkspace

Parameters copyName [in]
copyName is a parameter of type BSTR copyWorkspace [in]
copyWorkspace is a parameter of type IWorkspace*

Product Availability

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

See Also

IRasterBand Interface