This document is archived and information here might be outdated. Recommended version. |
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.