Adds a reference to a feature class.
[Visual Basic .NET] Public Sub AddDataSource ( _ ByVal pDataSource As ITerrainDataSource _ )
[C#] public void AddDataSource ( ITerrainDataSource pDataSource );
[C++]
HRESULT AddDataSource(
ITerrainDataSource* pDataSource
);
[C++]Parameters
pDataSource [in]pDataSource is a parameter of type ITerrainDataSource
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
Description
Adding a TerrainDataSource will invalidate the terrain and require a build. See ITerrainEdit.Build.