This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > NetworkAnalyst > ESRI.ArcGIS.NetworkAnalyst > Interfaces > IN > INAContextHelper Interface > INAContextHelper.NAContext Property (ArcObjects .NET 10.4 SDK) |
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
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.