ArcObjects Library Reference  (NetworkAnalyst)    

INASolver.CreateLayer Method

Makes a new network analysis layer for the solver context.

[Visual Basic 6.0]
Function CreateLayer(
    ByVal Context As INAContext _
) As INALayer
[Visual Basic .NET]
Public Function CreateLayer ( _
    ByVal Context As INAContext _
) As INALayer
[C#]
public INALayer CreateLayer (
    INAContext Context
);
[Java]
public INALayer createLayer (
    INAContext Context
)
throws
    IOException,
    AutomationException
[C++]
HRESULT CreateLayer(
  INAContext* Context,
  INALayer** layer
);
[C++]

Parameters

Context [in]

  Context is a parameter of type INAContext

layer [out, retval]

  layer is a parameter of type INALayer

Product Availability

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

Remarks

CreateLayer creates an NALayer that contains an NAClass feature class for every input and output class in the the solver's class definitions. For example stops, barriers and route for the route solver.

See Also

INASolver Interface

Example

CreateNetworkAnalysisLayer

 


Feedback Send feedback on this page