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

ITerrain.DataSourceCount Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > GeodatabaseExtensions > ESRI.ArcGIS.GeoDatabaseExtensions > Interfaces > IT > ITerrain Interface > ITerrain.DataSourceCount Property
ArcGIS Developer Help

ITerrain.DataSourceCount Property

The number of data sources participating in the terrain.

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

pcDataSources is a parameter of type long*

Product Availability

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


The DataSourceCount represents the number of feature classes that participate in the terrain. This includes regular and embedded feature classes.

See Also

ITerrain Interface