This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > NetworkAnalyst > ESRI.ArcGIS.NetworkAnalyst > Interfaces > IN > INAServer Interface > INAServer.GetNALayerNames Method (ArcObjects .NET 10.4 SDK) |
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
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.