This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > GeoDatabaseExtensions > ESRI.ArcGIS.GeoDatabaseExtensions > Interfaces > IT > ITerrainEdit Interface > ITerrainEdit.AddDataSource Method (ArcObjects .NET 10.5 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.