Array of network analysis layers of a particular analysis type.
[Visual Basic .NET] Public Function GetNALayerNames ( _ ByVal layerType As esriNAServerLayerType _ ) As String[]
[C#] public String[] GetNALayerNames ( esriNAServerLayerType layerType );
[C++]
HRESULT GetNALayerNames(
esriNAServerLayerType layerType,
NALayerNames* NALayerNames
);
[C++]Parameters
layerType [in]layerType is a parameter of type esriNAServerLayerType
NALayerNames [out, retval] NALayerNames is a parameter of type
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Network Analyst Extension.
Remarks
GetNALayerNames returns an array of names of NALayers of a given type. For example, you could use this method to find the names of all of the route analysis layers in the default map of the map server.