This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > GeoDatabaseExtensions > ESRI.ArcGIS.GeoDatabaseExtensions > Interfaces > IT > ITerrainEdit Interface > ITerrainEdit.AddDataSource Method (ArcObjects .NET 10.4 SDK) |
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
Adding a TerrainDataSource will invalidate the terrain and require a build. See ITerrainEdit.Build.