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


IGeoDatasetSchemaEdit.AlterSpatialReference Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabase)  

IGeoDatasetSchemaEdit.AlterSpatialReference Method

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

Product Availability

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

See Also

IGeoDatasetSchemaEdit Interface