This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > NetworkAnalyst > ESRI.ArcGIS.NetworkAnalyst > Interfaces > IN > INALayer Interface > INALayer.Add Method (ArcObjects .NET 10.5 SDK) |
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
Adds a sublayer into the NALayer.