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


INALayer.Context Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (NetworkAnalyst)  

INALayer.Context Property

The network analysis context.

[Visual Basic .NET]
Public Property Context As INAContext
[C#]
public INAContext Context {get; set;}
[C++]
HRESULT get_Context(
  INAContext* NAContext
);
[C++]
HRESULT putref_Context(
  INAContext** NAContext
);
[C++]

Parameters NAContext [in]
NAContext is a parameter of type INAContext* 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

Returns the NAContext associated with the NALayer.

See Also

INALayer Interface

.NET Snippets

Statements - Get NAClass | Clear NAClass | Clear Active Analysis Layer

.NET Samples

ArcGIS Network Analyst extension Engine application (Code Files: frmNALayerProperties) | Subset network evaluators (Code Files: AutoUpdateNetworkElementArrayParametersCommand SubsetHelperUI) | Route layer (Code Files: Program)

.NET Related Topics

How to speed up VRP solves