Class TerrainClass
- Namespace
- ESRI.ArcGIS.GeoDatabaseExtensions
- Assembly
- ESRI.Server.GeoDatabaseExtensions.dll
[Guid("EA9EB4A1-77B3-433C-A7DD-BB4436FA0E98")]
[ClassInterface(ClassInterfaceType.None)]
public class TerrainClass : Terrain, IDataset, ITerrainEditEvents_Event, IGeoDataset, ITerrain2, ITerrain, ITerrainEdit3, ITerrainEdit2, ITerrainEdit, ISchemaLock, IDatasetAnalyze, IDatasetComponent, IMetadata, IMetadataEdit, INativeTypeInfo
- Inheritance
-
TerrainClass
- Implements
-
ITerrainEditEvents_Event
- Inherited Members
Explicit Interface Implementations
AddDataSource(ITerrainDataSource)
Adds a reference to a feature class.
virtual void AddDataSource(ITerrainDataSource pDataSource)
Parameters
pDataSourceITerrainDataSource
AddDataSourceData(int, IEnvelope, IFeatureClass, ITrackCancel)
Appends measurements to a terrain data source (feature class).
virtual void AddDataSourceData(int Index, IEnvelope pAOI, IFeatureClass pInFC, ITrackCancel pTrackCancel)
Parameters
IndexintpAOIIEnvelopepInFCIFeatureClasspTrackCancelITrackCancel
AddDataSourceData2(int, string, IGeometry, IFeatureClass, ITrackCancel)
Appends measurements to terrain data source (feature class).
virtual void AddDataSourceData2(int Index, string pointCountFieldName, IGeometry pAOI, IFeatureClass pInFC, ITrackCancel pTrackCancel)
Parameters
IndexintpointCountFieldNamestringpAOIIGeometrypInFCIFeatureClasspTrackCancelITrackCancel
AddPyramidLevel(ITerrainPyramidLevel)
Adds a pyramid level.
virtual void AddPyramidLevel(ITerrainPyramidLevel pPyramidLevel)
Parameters
pPyramidLevelITerrainPyramidLevel
AllowableComponents
The allowable components to be analyzed.
virtual int AllowableComponents { get; }
Returns
Remarks
The AllowableComponents property indicates which parts of the table or feature class can be analyzed. The returned value is based on the esriTableComponents enumeration. Members from this enumeration can be bitwise or’d together.
Analyze(int)
Analyze the data to update/generate DBMS statistics.
virtual void Analyze(int tableComponents)
Parameters
tableComponentsint
Remarks
When applied to a feature dataset, Analyze updates the statistics for all of the tables.
BrowseName
The browse name of the dataset.
virtual string BrowseName { get; set; }
Returns
Remarks
Build(ITrackCancel)
Constructs the terrain.
virtual void Build(ITrackCancel pTrackCancel)
Parameters
pTrackCancelITrackCancel
CalculateFieldStatistics(int, IStringArray, ITrackCancel)
Calculate Terrain blob field statistics of the specified embedded data source.
virtual void CalculateFieldStatistics(int Index, IStringArray pFieldNames, ITrackCancel pTrackCancel)
Parameters
IndexintpFieldNamesIStringArraypTrackCancelITrackCancel
CanCopy()
True if this dataset can be copied.
virtual bool CanCopy()
Returns
Remarks
The CanCopy, CanDelete, and CanRename properties are meant to be used in conjunction with the Copy, Delete, and Rename methods and signify whether a dataset is supported by these methods. For example, you may not delete a network feature class nor can you use the Copy method on a Geodatabase feature class. To copy Geodatabase datasets, including feature classes, geometric networks, topologies, etc., use the IGeoDBDataTransfer interface.
The CanCopy method is supported by:
- CAD Drawings
- Coverages
- DBase Tables
- Info Tables
- Raster Datasets
- SDC datasets
- SDC Network Datasets
- Shapefiles
- Shapefile Network Datasets
CanDelete()
True if this dataset can be deleted.
virtual bool CanDelete()
Returns
Remarks
The CanCopy, CanDelete, and CanRename properties are meant to be used in conjunction with the Copy, Delete, and Rename methods and signify whether a dataset is supported by these methods. For example, you may not delete a network feature class nor can you use the Copy method on a Geodatabase feature class. To copy Geodatabase datasets, including feature classes, geometric networks, topologies, etc., use the IGeoDBDataTransfer interface.
CanEditMetadata
Indicates if metadata can be edited.
virtual bool CanEditMetadata { get; }
Returns
Remarks
This property is available to those objects that support metadata.
CanRename()
True if this dataset can be renamed.
virtual bool CanRename()
Returns
Remarks
The CanCopy, CanDelete, and CanRename properties are meant to be used in conjunction with the Copy, Delete, and Rename methods and signify whether a dataset is supported by these methods. For example, you may not delete or rename a network feature class nor can you use the Copy method on a Geodatabase feature class. To copy Geodatabase datasets, including feature classes, geometric networks, topologies, etc., use the IGeoDBDataTransfer interface.
Category
The category of the dataset.
virtual string Category { get; }
Returns
Remarks
IDataset::Category returns a description of the category of the dataset. The description returned from the Category property is the same value that is displayed in the Type column within the Contents tab in ArcCatalog. The value will contain a description of the dataset such as "Topology" prefixed with a description of the type of workspace containing the dataset such as "File Geodatabase".
The description returned from IDataset::Category may change between releases of ArcGIS. In addition to this, returned strings are localized, meaning that code relying on a specific string being provided may fail when deployed with a different version of ArcGIS than it was developed with, or when deployed to a client using a different language than it was developed with.
ChangeMaxScale(int, int)
Modifies the largest display scale used for a particular level of a terrain pyramid.
virtual void ChangeMaxScale(int Index, int newScale)
Parameters
ChangeResolutionBounds(int, double, double)
Change the resolution bounds of a data source.
virtual void ChangeResolutionBounds(int Index, double lowerBound, double upperBound)
Parameters
ChangeSchemaLock(esriSchemaLock)
Changes a schema lock.
virtual void ChangeSchemaLock(esriSchemaLock schemaLock)
Parameters
schemaLockesriSchemaLock
Remarks
- Modifications to attribute domains, such as adding or removing values from a coded value domain or changing the range for range domains
- Adding or deleting a field from a feature class or object class
- Associating a class extension with a feature class
- Creating a topology, geometric network, network dataset, terrain, schematic dataset, representation, or cadastral fabric on a set of feature classes
- Any use of the IClassSchemaEdit interface
- Putting a feature class into and taking it out of load-only mode with the IFeatureClassLoad.LoadOnlyMode method
- Managing (creating, deleting, or modifying) spatial and attribute indexes
ChangeUsageInOverview(int, bool)
Change the ApplyToOverviewTerrain property of the specified data source.
virtual void ChangeUsageInOverview(int Index, bool bApply)
Parameters
Copy(string, IWorkspace)
Copies this dataset to a new dataset with the specified name.
virtual IDataset Copy(string copyName, IWorkspace copyWorkspace)
Parameters
copyNamestringcopyWorkspaceIWorkspace
Returns
Remarks
IDataset::Copy should only be used with datasets from file-based data sources, such as shapefiles and coverages.
CreateDynamicSurface()
Returns an implicit surface from which TINs and rasters are derived.
virtual IDynamicSurface CreateDynamicSurface()
Returns
DataElement
The data element corresponding to the dataset component.
virtual IDEDataset DataElement { get; }
Returns
Remarks
The DataElement method is used to access the data element for this dataset component.
DataSource[int]
Returns the data source specified by the index.
virtual ITerrainDataSource DataSource[int Index] { get; }
Parameters
Indexint
Returns
DataSourceCount
The number of data sources participating in the terrain.
virtual int DataSourceCount { get; }
Returns
Delete()
Deletes this dataset.
virtual void Delete()
Remarks
Certain feature classes, such as network and topology feature classes, cannot be deleted until their containing objects are deleted.
DeleteDataSourceData(int, IEnvelope, ITrackCancel)
Removes measurements from a terrain data source (feature class).
virtual void DeleteDataSourceData(int Index, IEnvelope pAOI, ITrackCancel pTrackCancel)
Parameters
IndexintpAOIIEnvelopepTrackCancelITrackCancel
DeleteDataSourceData2(int, string, IGeometry, ITrackCancel)
Removes measurements from a terrain data source (feature class).
virtual void DeleteDataSourceData2(int Index, string pointCountFieldName, IGeometry pAOI, ITrackCancel pTrackCancel)
Parameters
IndexintpointCountFieldNamestringpAOIIGeometrypTrackCancelITrackCancel
DeleteDataSourceDataByFC(int, string, IFeatureClass, bool, ITrackCancel)
Removes measurements from a terrain data source (feature class).
virtual void DeleteDataSourceDataByFC(int Index, string pointCountFieldName, IFeatureClass pFC, bool bSparseData, ITrackCancel pTrackCancel)
Parameters
IndexintpointCountFieldNamestringpFCIFeatureClassbSparseDataboolpTrackCancelITrackCancel
Extent
The extent of the GeoDataset.
virtual IEnvelope Extent { get; }
Returns
Remarks
The IGeoDataset::Extent property returns an envelope representing the maximum extent of data which has been stored in the dataset.
Consider the following scenario. A new feature class has features added to it. The IGeoDataset::Extent is then requested and an envelope is returned. The extents of the envelope returned are represented by the red box in the image below.

If a portion of the features were then deleted and the extent is again requested an envelope with the exact same extents as during the first request would be returned (see image below). This is because the deletion of features does not shrink the extent. However all additions of features outside the red box would increase the envelope returned to encompass the newly added features.

If you would like to update the IGeoDataset::Extent property to reflect the current features in your dataset please see IFeatureClassManage::UpdateExtent (also see IFeatureClassLoad). In the image below the extent has been updated and a new envelope is being returned.

ESRI's GroupLayer implements this property differently from most other layer coclasses. When you instantiate a new GroupLayer, this property will return a valid envelope with zero height and width. With most other newly instantiated layers (for example FeatureLayer, RasterLayer, TinLayer), this property initally returns Nothing.
ExtractFromEmbeddedDataSource(int, IFeatureClass, IEnvelope, double, ITrackCancel)
Copies features of an embedded data source to the specified feature class.
virtual void ExtractFromEmbeddedDataSource(int Index, IFeatureClass pFeatureClass, IEnvelope pAOI, double Resolution, ITrackCancel pTrackCancel)
Parameters
IndexintpFeatureClassIFeatureClasspAOIIEnvelopeResolutiondoublepTrackCancelITrackCancel
FeatureDataset
The feature dataset which contains the terrain.
virtual IFeatureDataset FeatureDataset { get; }
Returns
FullName
The associated name object.
virtual IName FullName { get; }
Returns
Remarks
GetCurrentSchemaLocks(out IEnumSchemaLockInfo)
The list of current locks.
virtual void GetCurrentSchemaLocks(out IEnumSchemaLockInfo schemaLockInfo)
Parameters
schemaLockInfoIEnumSchemaLockInfo
Remarks
The ISchemaLockInfo interface is used in concert with ISchemaLock to provide information about a schema lock, for example, whether it is shared or exclusive and for ArcSDE geodatabases, the name of the user who has the lock. Note that there will always be at least one schema lock on the dataset. Also note that by checking the schema locks on a dataset a shared schema lock is applied to the data.
GetDirtyTiles()
Returns all dirty tiles.
virtual IEnumEnvelope GetDirtyTiles()
Returns
GetEmbeddedDataSourceShapeFieldName()
Returns the 'Shape' field name of the embedded data sources.
virtual string GetEmbeddedDataSourceShapeFieldName()
Returns
GetPointCount(IEnvelope, double)
Returns the approximate number of points in the terrain within a given area and at a particular pyramid level.
virtual double GetPointCount(IEnvelope pAOI, double Resolution)
Parameters
Returns
ID
The database identifier of the terrain.
virtual int ID { get; }
Returns
ITerrain2_CreateDynamicSurface()
virtual IDynamicSurface ITerrain2_CreateDynamicSurface()
Returns
ITerrain2_DataSource[int]
virtual ITerrainDataSource ITerrain2_DataSource[int Index] { get; }
Parameters
Indexint
Returns
ITerrain2_DataSourceCount
virtual int ITerrain2_DataSourceCount { get; }
Returns
ITerrain2_Extent
virtual IEnvelope ITerrain2_Extent { get; }
Returns
ITerrain2_ExtractFromEmbeddedDataSource(int, IFeatureClass, IEnvelope, double, ITrackCancel)
virtual void ITerrain2_ExtractFromEmbeddedDataSource(int Index, IFeatureClass pFeatureClass, IEnvelope pAOI, double Resolution, ITrackCancel pTrackCancel)
Parameters
IndexintpFeatureClassIFeatureClasspAOIIEnvelopeResolutiondoublepTrackCancelITrackCancel
ITerrain2_FeatureDataset
virtual IFeatureDataset ITerrain2_FeatureDataset { get; }
Returns
ITerrain2_GetDirtyTiles()
virtual IEnumEnvelope ITerrain2_GetDirtyTiles()
Returns
ITerrain2_GetPointCount(IEnvelope, double)
virtual double ITerrain2_GetPointCount(IEnvelope pAOI, double Resolution)
Parameters
Returns
ITerrain2_ID
virtual int ITerrain2_ID { get; }
Returns
ITerrain2_IsDirty
virtual bool ITerrain2_IsDirty { get; }
Returns
ITerrain2_IsValid
virtual bool ITerrain2_IsValid { get; }
Returns
ITerrain2_MaxOverviewTerrainPoints
virtual int ITerrain2_MaxOverviewTerrainPoints { get; }
Returns
ITerrain2_MaxPointsPerShape
virtual int ITerrain2_MaxPointsPerShape { get; }
Returns
ITerrain2_Name
virtual string ITerrain2_Name { get; }
Returns
ITerrain2_PyramidLevel[int]
virtual ITerrainPyramidLevel ITerrain2_PyramidLevel[int Index] { get; }
Parameters
Indexint
Returns
ITerrain2_PyramidLevelCount
virtual int ITerrain2_PyramidLevelCount { get; }
Returns
ITerrain2_PyramidType
virtual esriTerrainPyramidType ITerrain2_PyramidType { get; }
Returns
ITerrain2_QueryTileInfo(out int, out int, out int, out int, out double, out double, out double, out int, out int)
virtual void ITerrain2_QueryTileInfo(out int pRowBegin, out int pRowEnd, out int pColBegin, out int pColEnd, out double pXMin, out double pYMin, out double pTileSize, out int pRowCountDomain, out int pColCountDomain)
Parameters
pRowBeginintpRowEndintpColBeginintpColEndintpXMindoublepYMindoublepTileSizedoublepRowCountDomainintpColCountDomainint
ITerrain2_Size
virtual double ITerrain2_Size { get; }
Returns
ITerrain2_SpatialReference
virtual ISpatialReference ITerrain2_SpatialReference { get; }
Returns
ITerrain2_TileSize
virtual double ITerrain2_TileSize { get; }
Returns
ITerrainEdit2_AddDataSource(ITerrainDataSource)
virtual void ITerrainEdit2_AddDataSource(ITerrainDataSource pDataSource)
Parameters
pDataSourceITerrainDataSource
ITerrainEdit2_AddDataSourceData(int, IEnvelope, IFeatureClass, ITrackCancel)
virtual void ITerrainEdit2_AddDataSourceData(int Index, IEnvelope pAOI, IFeatureClass pInFC, ITrackCancel pTrackCancel)
Parameters
IndexintpAOIIEnvelopepInFCIFeatureClasspTrackCancelITrackCancel
ITerrainEdit2_AddPyramidLevel(ITerrainPyramidLevel)
virtual void ITerrainEdit2_AddPyramidLevel(ITerrainPyramidLevel pPyramidLevel)
Parameters
pPyramidLevelITerrainPyramidLevel
ITerrainEdit2_Build(ITrackCancel)
virtual void ITerrainEdit2_Build(ITrackCancel pTrackCancel)
Parameters
pTrackCancelITrackCancel
ITerrainEdit2_ChangeMaxScale(int, int)
virtual void ITerrainEdit2_ChangeMaxScale(int Index, int newScale)
Parameters
ITerrainEdit2_ChangeResolutionBounds(int, double, double)
virtual void ITerrainEdit2_ChangeResolutionBounds(int Index, double lowerBound, double upperBound)
Parameters
ITerrainEdit2_DeleteDataSourceData(int, IEnvelope, ITrackCancel)
virtual void ITerrainEdit2_DeleteDataSourceData(int Index, IEnvelope pAOI, ITrackCancel pTrackCancel)
Parameters
IndexintpAOIIEnvelopepTrackCancelITrackCancel
ITerrainEdit2_RemoveDataSource(int)
virtual void ITerrainEdit2_RemoveDataSource(int Index)
Parameters
Indexint
ITerrainEdit2_RemovePyramidLevel(int)
virtual void ITerrainEdit2_RemovePyramidLevel(int Index)
Parameters
Indexint
ITerrainEdit2_ReplaceDataSourceData(int, IEnvelope, IFeatureClass, ITrackCancel)
virtual void ITerrainEdit2_ReplaceDataSourceData(int Index, IEnvelope pAOI, IFeatureClass pInFC, ITrackCancel pTrackCancel)
Parameters
IndexintpAOIIEnvelopepInFCIFeatureClasspTrackCancelITrackCancel
ITerrainEdit3_AddDataSource(ITerrainDataSource)
virtual void ITerrainEdit3_AddDataSource(ITerrainDataSource pDataSource)
Parameters
pDataSourceITerrainDataSource
ITerrainEdit3_AddDataSourceData(int, IEnvelope, IFeatureClass, ITrackCancel)
virtual void ITerrainEdit3_AddDataSourceData(int Index, IEnvelope pAOI, IFeatureClass pInFC, ITrackCancel pTrackCancel)
Parameters
IndexintpAOIIEnvelopepInFCIFeatureClasspTrackCancelITrackCancel
ITerrainEdit3_AddPyramidLevel(ITerrainPyramidLevel)
virtual void ITerrainEdit3_AddPyramidLevel(ITerrainPyramidLevel pPyramidLevel)
Parameters
pPyramidLevelITerrainPyramidLevel
ITerrainEdit3_Build(ITrackCancel)
virtual void ITerrainEdit3_Build(ITrackCancel pTrackCancel)
Parameters
pTrackCancelITrackCancel
ITerrainEdit3_ChangeMaxScale(int, int)
virtual void ITerrainEdit3_ChangeMaxScale(int Index, int newScale)
Parameters
ITerrainEdit3_ChangeResolutionBounds(int, double, double)
virtual void ITerrainEdit3_ChangeResolutionBounds(int Index, double lowerBound, double upperBound)
Parameters
ITerrainEdit3_DeleteDataSourceData(int, IEnvelope, ITrackCancel)
virtual void ITerrainEdit3_DeleteDataSourceData(int Index, IEnvelope pAOI, ITrackCancel pTrackCancel)
Parameters
IndexintpAOIIEnvelopepTrackCancelITrackCancel
ITerrainEdit3_RemoveDataSource(int)
virtual void ITerrainEdit3_RemoveDataSource(int Index)
Parameters
Indexint
ITerrainEdit3_RemovePyramidLevel(int)
virtual void ITerrainEdit3_RemovePyramidLevel(int Index)
Parameters
Indexint
ITerrainEdit3_ReplaceDataSourceData(int, IEnvelope, IFeatureClass, ITrackCancel)
virtual void ITerrainEdit3_ReplaceDataSourceData(int Index, IEnvelope pAOI, IFeatureClass pInFC, ITrackCancel pTrackCancel)
Parameters
IndexintpAOIIEnvelopepInFCIFeatureClasspTrackCancelITrackCancel
ITerrainEdit3_UpdateExtent(ITrackCancel)
virtual void ITerrainEdit3_UpdateExtent(ITrackCancel pTrackCancel)
Parameters
pTrackCancelITrackCancel
ITerrain_Extent
The approximate xyz extent of the terrain.
virtual IEnvelope ITerrain_Extent { get; }
Returns
ITerrain_Name
The name of the terrain.
virtual string ITerrain_Name { get; }
Returns
ITerrain_SpatialReference
The spatial reference of the terrain.
virtual ISpatialReference ITerrain_SpatialReference { get; }
Returns
IsDirty
Indicates whether or not a partial rebuild is needed.
virtual bool IsDirty { get; }
Returns
IsValid
Indicates whether or not a full build is required.
virtual bool IsValid { get; }
Returns
MaxOverviewTerrainPoints
The maximum number of points in the most generalized representation of a Terrain.
virtual int MaxOverviewTerrainPoints { get; }
Returns
MaxPointsPerShape
The maximum number of vertices per multipoint.
virtual int MaxPointsPerShape { get; }
Returns
Metadata
The PropertySet containing metadata.
virtual IPropertySet Metadata { get; set; }
Returns
Remarks
The variable to hold the data must be of IPropertySet data type.
The metadata property is frequently used to save, or update, changes to metadata documents that have taken place through methods available on the IPropertySet, IXmlPropertySet, and/or IXmlPropertySet2 interfaces.
Name
The name of the Dataset.
virtual string Name { get; }
Returns
NativeType
The native type.
virtual INativeType NativeType { get; }
Returns
OnBuild
virtual event ITerrainEditEvents_OnBuildEventHandler OnBuild
Returns
- ITerrainEditEvents_OnBuildEventHandler
OnReconcile
virtual event ITerrainEditEvents_OnReconcileEventHandler OnReconcile
Returns
- ITerrainEditEvents_OnReconcileEventHandler
OnRedoBuild
virtual event ITerrainEditEvents_OnRedoBuildEventHandler OnRedoBuild
Returns
- ITerrainEditEvents_OnRedoBuildEventHandler
OnRedoReconcile
virtual event ITerrainEditEvents_OnRedoReconcileEventHandler OnRedoReconcile
Returns
- ITerrainEditEvents_OnRedoReconcileEventHandler
OnUndoBuild
virtual event ITerrainEditEvents_OnUndoBuildEventHandler OnUndoBuild
Returns
- ITerrainEditEvents_OnUndoBuildEventHandler
OnUndoReconcile
virtual event ITerrainEditEvents_OnUndoReconcileEventHandler OnUndoReconcile
Returns
- ITerrainEditEvents_OnUndoReconcileEventHandler
Parent
The containing parent dataset.
virtual IDataset Parent { get; }
Returns
Remarks
Returns the parent of the dataset component. For example, for geodatabase network datasets this will return the containing feature dataset.
PropertySet
The set of properties for the dataset.
virtual IPropertySet PropertySet { get; }
Returns
Remarks
Examples of intrinsic properties for which explicit methods exist include the SpatialReference and the Extent methods available on the IGeoDataset interface. In most cases this PropertySet will be empty.
IDataset::PropertySet is not supported for Graph objects such as a Geometric Network.
PyramidLevel[int]
Returns the pyramid level specified by the index.
virtual ITerrainPyramidLevel PyramidLevel[int Index] { get; }
Parameters
Indexint
Returns
PyramidLevelCount
The number of pyramid levels in the terrain.
virtual int PyramidLevelCount { get; }
Returns
PyramidType
The pyramid type of this Terrain.
virtual esriTerrainPyramidType PyramidType { get; }
Returns
QueryTileInfo(out int, out int, out int, out int, out double, out double, out double, out int, out int)
Returns horizontal partitioning information about the terrain data.
virtual void QueryTileInfo(out int pRowBegin, out int pRowEnd, out int pColBegin, out int pColEnd, out double pXMin, out double pYMin, out double pTileSize, out int pRowCountDomain, out int pColCountDomain)
Parameters
pRowBeginintpRowEndintpColBeginintpColEndintpXMindoublepYMindoublepTileSizedoublepRowCountDomainintpColCountDomainint
RemoveDataSource(int)
Removes reference to a participating feature class.
virtual void RemoveDataSource(int Index)
Parameters
Indexint
RemovePyramidLevel(int)
Removes a pyramid level.
virtual void RemovePyramidLevel(int Index)
Parameters
Indexint
Rename(string)
Renames this Dataset.
virtual void Rename(string Name)
Parameters
Namestring
Remarks
IDataset::Rename does not support the renaming of Graph objects such as a Geometric Network. In addition, certain feature classes, such as network feature classes, cannot be renamed.
ReplaceDataSourceData(int, IEnvelope, IFeatureClass, ITrackCancel)
Replaces measurements from a terrain data source (feature class) with measurements in another feature class.
virtual void ReplaceDataSourceData(int Index, IEnvelope pAOI, IFeatureClass pInFC, ITrackCancel pTrackCancel)
Parameters
IndexintpAOIIEnvelopepInFCIFeatureClasspTrackCancelITrackCancel
ReplaceDataSourceData2(int, string, IGeometry, IFeatureClass, ITrackCancel)
Replaces measurements from a terrain data source (feature class) with measurements in another feature class.
virtual void ReplaceDataSourceData2(int Index, string pointCountFieldName, IGeometry pAOI, IFeatureClass pInFC, ITrackCancel pTrackCancel)
Parameters
IndexintpointCountFieldNamestringpAOIIGeometrypInFCIFeatureClasspTrackCancelITrackCancel
SearchFromEmbeddedDataSource(int, IEnvelope, double, IStringArray, out IFeatureCursor, out ILongArray)
Returns a Search Cursor on the specified embedded data source.
virtual void SearchFromEmbeddedDataSource(int Index, IEnvelope pAOI, double Resolution, IStringArray pSubFields, out IFeatureCursor ppCursor, out ILongArray ppFieldIndices)
Parameters
IndexintpAOIIEnvelopeResolutiondoublepSubFieldsIStringArrayppCursorIFeatureCursorppFieldIndicesILongArray
Size
The total number of points in the Terrain.
virtual double Size { get; }
Returns
SpatialReference
The spatial reference of the GeoDataset.
virtual ISpatialReference SpatialReference { get; }
Returns
Remarks
This property is read only. For layers, when the first layer is added to ArcMap, its spatial reference is read by this property, and the map is set to this spatial reference.
Instances of the esriCarto.GroupLayer class will return null for this property, as a group layer can contain multiple datasets with different spatial references.
Modifications to a spatial reference returned by this property will not be persisted. To modify the spatial reference of a dataset, the IGeoDatasetSchemaEdit and IGeoDatasetSchemaEdit2 interfaces should be used.
Subsets
Datasets contained within this dataset.
virtual IEnumDataset Subsets { get; }
Returns
Remarks
IDataset::Subsets is not supported for Graph objects such as a Geometric Network. To return the feature classes contained in a Geometric Network, use the IFeatureClassContainer interface.
Synchronize(esriMetadataSyncAction, int)
Updates metadata with the current properties; may create metadata if it doesn't already exist.
virtual void Synchronize(esriMetadataSyncAction action, int interval)
Parameters
actionesriMetadataSyncActionintervalint
Remarks
The following actions will result in synchronization given each of the listed conditions:
| Action | Metadata status | Esri/Sync element | Interval parameter |
|---|---|---|---|
| esriMSAAccessed | Doesn't matter | Must not be FALSE | Must be less than actual interval |
| esriMSAAlways | Doesn't matter | Doesn't matter | Doesn't matter |
| esriMSACreated | Must not exist | Must not be FALSE | Must be less than actual interval |
| esriMSANotCreated | Must exist | Must not be FALSE | Must be less than actual interval |
| esriMSAOverwrite | Doesn't matter | Doesn't matter | Doesn't matter |
The difference between esriMSAAlways and esriMSAOverwrite lies in which elements are synchronized. esriMSAAlways will honor the removal or value change of an element's Sync attribute (to disable synchronization), whereas using esriMSAOverwrite is equivalent to setting the IXmlPropertySet2.OverwriteSyncAttribute to true for the metadata's property set, meaning that even elements without a Sync attribute of TRUE will be synchronized.
TileSize
The horizontal distance used to spatially index and partition terrain data.
virtual double TileSize { get; }
Returns
Type
The type of the Dataset.
virtual esriDatasetType Type { get; }
Returns
Remarks
UpdateExtent(ITrackCancel)
Refresh terrain's extent.
virtual void UpdateExtent(ITrackCancel pTrackCancel)
Parameters
pTrackCancelITrackCancel
Workspace
The workspace containing this dataset.
virtual IWorkspace Workspace { get; }
Returns
Remarks
<p>A Workspace is a container of spatial and non-spatial datasets such as feature classes, raster datasets, and tables. It provides methods to instantiate existing datasets and to create new datasets. Workspaces are classified into types specified by the <b><a href="esriWorkspaceType.htm">esriWorkspaceType</a></b> enumerator: FileSystemWorkspace, LocalDatabaseWorkspace, and RemoteDatabaseWorkspace. Shapefiles and ArcGIS for Desktop Advanced workspaces are examples of FileSystemWorkspace. A personal geodatabase stored in an Access or a File Geodatabase is an example of a LocalDatabaseWorkspace. A geodatabase stored in an RDBMS such as Oracle, DB2, SQL Server, or Informix and accessed via ArcSDE is an example of a RemoteDatabaseWorkspace.</p> <p>A Workspace hands out a <b><a href="WorkspaceName.htm">WorkspaceName</a> </b>object as the value of its FullName property. For example, the WorkspaceName for a workspace can be persisted in a map document. An application can call the <b>Open()</b> method on the workspace name after loading it from persistent storage to connect to and get an object reference to the workspace.</p>