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

IGeoDatasetSchemaEdit.AlterSpatialReference Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IG > IGeoDatasetSchemaEdit Interface > IGeoDatasetSchemaEdit.AlterSpatialReference Method
ArcGIS Developer Help

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 _
public void AlterSpatialReference (
    ISpatialReference SpatialReference
HRESULT AlterSpatialReference(
  ISpatialReference* SpatialReference
SpatialReference [in]

SpatialReference is a parameter of type ISpatialReference*

Product Availability

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

See Also

IGeoDatasetSchemaEdit Interface