ArcGIS Enterprise SDK
IRasterBandCollection.Clear Method
ArcGIS Developer Help

IRasterBandCollection.Clear Method

Removes all the elements in the collection.

[Visual Basic .NET]
Public Sub Clear ( _
)
[C#]
public void Clear (
);

Remarks

This method is only applicable to work with a Raster, not with a RasterDataset.

See Also

IRasterBandCollection Interface