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


INAContext.SpatialReference Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > NetworkAnalyst > ESRI.ArcGIS.NetworkAnalyst > Interfaces > IN > INAContext Interface > INAContext.SpatialReference Property
ArcGIS Developer Help

INAContext.SpatialReference Property

The spatial reference of the analysis.

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

spatialRef is a parameter of type ISpatialReference**

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Network Analyst Extension.

Remarks

SpatialReference returns the spatial reference of the associated NetworkDataset.

See Also

INAContext Interface