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

ITerrainEdit.ReplaceDataSourceData 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.ReplaceDataSourceData Method
ArcGIS Developer Help

ITerrainEdit.ReplaceDataSourceData Method

Replaces measurements from a terrain data source (feature class) with measurements in another feature class.

[Visual Basic .NET]
Public Sub ReplaceDataSourceData ( _
    ByVal index As Integer, _
    ByVal pAOI As IEnvelope, _
    ByVal pInFC As IFeatureClass, _
    ByVal pTrackCancel As ITrackCancel _
public void ReplaceDataSourceData (
    int index,
    IEnvelope pAOI,
    IFeatureClass pInFC,
    ITrackCancel pTrackCancel
HRESULT ReplaceDataSourceData(
  long index,
  IEnvelope* pAOI,
  IFeatureClass* pInFC,
  ITrackCancel* pTrackCancel
index [in]

index is a parameter of type long pAOI [in]
pAOI is a parameter of type IEnvelope* pInFC [in]
pInFC is a parameter of type IFeatureClass* pTrackCancel [in]
pTrackCancel is a parameter of type ITrackCancel*

Product Availability

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


The input index is the terrain data source index of the embedded feature class. Valid values range from 0 to ITerrain.DataSourceCount-1.

The pAOI argument is the area of interest envelope that's used to indicate where measurements are to be replaced.

pInFC is a pointer to the input feature class from which measurements will be taken. The feature class shape type must be point or multipoint.

pTrackCancel is a pointer to a CancelTracker object.




See Also

ITerrainEdit Interface