ArcObjects Library Reference  (NetworkAnalyst)    

INALayer.LayerByNAClassName Property

The network analysis layer by class name.

[Visual Basic 6.0]
Property LayerByNAClassName(
    ByVal Name As String _
) As ILayer
[Visual Basic .NET]
Public Function get_LayerByNAClassName ( _
    ByVal Name As String _
) As ILayer
[C#]
public ILayer get_LayerByNAClassName (
    string Name
);
[Java]
public  getLayerByNAClassName (
    String Name,
    ILayer layer
)
[C++]
HRESULT get_LayerByNAClassName(
  BSTR Name,
  ILayer** layer
);
[C++]

Parameters

Name [in]

  Name is a parameter of type BSTR

layer [out, retval]

  layer is a parameter of type ILayer

Product Availability

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

Remarks

Returns the sub-layer of the NALayer that is referencing an NAClass with the name passed in.  Valid values currently include "Barriers", "CFRoutes", "Destinations", "Facilities", "Incidents", "ODLines", "Origins", "Routes", "SALines", "SAPolygons" and "Stops".

See Also

INALayer Interface

Example

esriNetworkAnalyst INALayer Example

 


Feedback Send feedback on this page