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


IGeoDatasetSchemaEdit Interface (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabase)  

IGeoDatasetSchemaEdit Interface

Provides access to members that change the schema of a GeoDataset.

Product Availability

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

Members

Description
Method AlterSpatialReference Alters the spatial reference of the dataset to match the coordinate system of the input spatial reference, does not reproject the data.
Read-only property CanAlterSpatialReference Indicates if the spatial reference of the dataset can be altered.

CoClasses that implement IGeoDatasetSchemaEdit

CoClasses and Classes Description
CompositeGraphicsLayer (esriCarto) A collection of graphics layers that behave like single layer.
FeatureDataset Esri Feature Dataset object.
LasDataset (esriGeoDatabaseExtensions) Esri LasDataset component.
NetworkDataset A container for querying information about a network dataset.
RasterDataset (esriDataSourcesRaster) A representation of a raster dataset on disk.
SchematicDiagramClass (esriSchematic) Schematic diagram class object.
SchematicInMemoryFeatureClass (esriSchematic) Schematic in memory feature class object.
Tin The Esri TIN component.

Remarks

The IGeoDatasetSchemaEdit interface is an optional interface that allows you to change the spatial reference associated with an existing dataset.

Note that the AlterSpatialReference method does not project or otherwise modify the existing data in the dataset-this method merely rewrites the spatial reference associated with the dataset. The caller is responsible for ensuring the correctness and appropriateness of the supplied spatial reference. Its most common use is to supply a spatial reference for a dataset whose spatial reference is currently tagged as Unknown.

See Also

IGeoDataset Interface | ISpatialReference Interface