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 [out, retval]

  NAContext is a parameter of type INAContext

NAContext [in]

  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

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

.NET Samples

Network Analyst Engine application (Code Files: frmLoadLocations frmNALayerProperties) | Route layer (Code Files: Program) | Subset network evaluators (Code Files: AutoUpdateNetworkElementArrayParametersCommand SubsetHelperUI) | Using the traversal result to select source features (Code Files: SelectFeaturesTool) |

.NET Related Topics

How to speed up VRP solves |