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


INALayer.Add Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (NetworkAnalyst)  

INALayer.Add Method

Add a new layer.

[Visual Basic .NET]
Public Sub Add ( _
    ByVal layer As ILayer _
)
[C#]
public void Add (
    ILayer layer
);
[C++]
HRESULT Add(
  ILayer* layer
);
[C++]

Parameters layer [in]
layer is a parameter of type ILayer

Product Availability

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

Remarks

Adds a sublayer into the NALayer.

See Also

INALayer Interface