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


IGPCoordinateSystem.SpatialReference Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IG > IGPCoordinateSystem Interface > IGPCoordinateSystem.SpatialReference Property
ArcGIS Developer Help

IGPCoordinateSystem.SpatialReference Property

The spatial reference of the geoprocessing spatial reference object.

[Visual Basic .NET]
Public Property SpatialReference As ISpatialReference
[C#]
public ISpatialReference SpatialReference {get; set;}
[C++]
HRESULT get_SpatialReference(
  ISpatialReference** ppSpatialReference
);
[C++]
HRESULT putref_SpatialReference(
  ISpatialReference* ppSpatialReference
);
[C++]
Parameters
ppSpatialReference [out, retval]

ppSpatialReference is a parameter of type ISpatialReference** ppSpatialReference [in]
ppSpatialReference is a parameter of type ISpatialReference*

Product Availability

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

See Also

IGPCoordinateSystem Interface

.NET Samples

Create a raster catalog using the geoprocessor