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


IGPCoordinateSystem.SpatialReference Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Geoprocessing)  

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 (Code Files: CreateRasterCatalog_GP)