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

IRasterCollection.RasterCount Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > DataSourcesRaster > ESRI.ArcGIS.DataSourcesRaster > Interfaces > IR > IRasterCollection Interface > IRasterCollection.RasterCount Property
ArcGIS Developer Help

IRasterCollection.RasterCount Property

The number of rasters in this raster collection.

[Visual Basic .NET]
Public ReadOnly Property RasterCount As Integer
public int RasterCount {get;}
HRESULT get_RasterCount(
  System.Int32* Count
Count [out, retval]

Count is a parameter of type long*

Product Availability

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

See Also

IRasterCollection Interface