This document is archived and information here might be outdated.  Recommended version.


INALayer3.FindDataLayerByNAClassName Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > NetworkAnalyst > ESRI.ArcGIS.NetworkAnalyst > Interfaces > IN > INALayer3 Interface > INALayer3.FindDataLayerByNAClassName Method
ArcGIS Developer Help

INALayer3.FindDataLayerByNAClassName Method

The index of the named datalayer in the collection of DataLayers of the network analysis layer.

[Visual Basic .NET]
Public Function FindDataLayerByNAClassName ( _
    ByVal Name As String _
) As Integer
[C#]
public int FindDataLayerByNAClassName (
    string Name
);
[C++]
HRESULT FindDataLayerByNAClassName(
  BSTR Name
);
[C++]
Parameters
Name [in]

Name is a parameter of type BSTR

Product Availability

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

See Also

INALayer3 Interface