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


IRasterBandCollection.Clear Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (DataSourcesRaster)  

IRasterBandCollection.Clear Method

Removes all the elements in the collection.

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

Product Availability

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

Remarks

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

See Also

IRasterBandCollection Interface