This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IG > IGeoDatasetSchemaEdit Interface > IGeoDatasetSchemaEdit.AlterSpatialReference Method (ArcObjects .NET 10.5 SDK) |
Alters the spatial reference of the dataset to match the coordinate system of the input spatial reference, does not reproject the data.
[Visual Basic .NET] Public Sub AlterSpatialReference ( _ ByVal SpatialReference As ISpatialReference _ )
[C#] public void AlterSpatialReference ( ISpatialReference SpatialReference );
[C++]
HRESULT AlterSpatialReference(
ISpatialReference* SpatialReference
);
[C++]
Parameters SpatialReference [in]
SpatialReference is a parameter of type ISpatialReference