This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > DataSourcesRaster > ESRI.ArcGIS.DataSourcesRaster > Interfaces > IR > IRasterBandCollection Interface > IRasterBandCollection.Clear Method (ArcObjects .NET 10.4 SDK) |
Removes all the elements in the collection.
[Visual Basic .NET]
Public Sub Clear ( _
)
[C#] public void Clear ( );
[C++]
HRESULT Clear(
void
);
This method is only applicable to work with a Raster, not with a RasterDataset.