Interface IGeoDatasetSchemaEdit
- Namespace
- ESRI.ArcGIS.Geodatabase
- Assembly
- ESRI.Server.Geodatabase.dll
Provides access to members that change the schema of a GeoDataset.
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("6B267C02-28CC-11D3-9F67-00C04F6BDF0C")]
public interface IGeoDatasetSchemaEdit
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.
Properties
CanAlterSpatialReference
Indicates if the spatial reference of the dataset can be altered.
bool CanAlterSpatialReference { get; }
Property Value
Methods
AlterSpatialReference(ISpatialReference)
Alters the spatial reference of the dataset to match the coordinate system of the input spatial reference, does not reproject the data.
void AlterSpatialReference(ISpatialReference SpatialReference)
Parameters
SpatialReferenceISpatialReference