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


ITerrainEdit.AddDataSource Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabaseExtensions)  

ITerrainEdit.AddDataSource Method

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.

 

See Also

ITerrainEdit Interface