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


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

INAContextHelper.NAContext Property

The network analysis context.

[Visual Basic .NET]
Public ReadOnly Property NAContext As INAContext
[C#]
public INAContext NAContext {get;}
[C++]
HRESULT get_NAContext(
  INAContext** NAContext
);
[C++]
Parameters
NAContext [out, retval]

NAContext is a parameter of type INAContext**

Product Availability

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

Remarks

NAContext returns the NAContext.

When passed a reference to an INAContextHelper interface, it is because you should not have a strong reference to the NAContext object itself.  Instead, keep a reference to the NAContextHelper and get the NAContext object from the NAContext property on the INAContextHelper interface instead.

See Also

INAContextHelper Interface