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


IGPSpatialReference.SpatialReference Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Geoprocessing)  

IGPSpatialReference.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

IGPSpatialReference Interface

.NET Samples

Create a raster catalog using the geoprocessor (Code Files: CreateRasterCatalog_GP)