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