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


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

INALayer.Delete Method

Delete an existing layer.

[Visual Basic .NET]
Public Sub Delete ( _
    ByVal layer As ILayer _
)
[C#]
public void Delete (
    ILayer layer
);
[C++]
HRESULT Delete(
  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

Removes a sublayer from the NALayer.

See Also

INALayer Interface