This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > NetworkAnalyst > ESRI.ArcGIS.NetworkAnalyst > Interfaces > IN > INALayer Interface > INALayer.LayerByNAClassName Property (ArcObjects .NET 10.4 SDK) |
The network analysis layer by class name.
[Visual Basic .NET] Public Function get_LayerByNAClassName ( _ ByVal Name As String _ ) As ILayer
[C#] public ILayer get_LayerByNAClassName ( string Name );
[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
Returns the sublayer of the NALayer that is referencing an NAClass with the name passed in. The following list shows valid values for each solver:
NARouteSolver
NAServiceAreaSolver
NAClosestFacilitySolver
NAODCostMatrixSolver
NAVRPSolver
NALocationAllocationSolver