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

ITerrainEdit.AddDataSource Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > GeodatabaseExtensions > ESRI.ArcGIS.GeoDatabaseExtensions > Interfaces > IT > ITerrainEdit Interface > ITerrainEdit.AddDataSource Method
ArcGIS Developer Help

ITerrainEdit.AddDataSource Method

Adds a reference to a feature class.

[Visual Basic .NET]
Public Sub AddDataSource ( _
    ByVal pDataSource As ITerrainDataSource _
public void AddDataSource (
    ITerrainDataSource pDataSource
HRESULT AddDataSource(
  ITerrainDataSource* pDataSource
pDataSource [in]

pDataSource is a parameter of type ITerrainDataSource*

Product Availability

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


Adding a TerrainDataSource will invalidate the terrain and require a build. See ITerrainEdit.Build.


See Also

ITerrainEdit Interface