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


INetworkAnalysisExtBarriers.SetDisabledLayer Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (EditorExt)  

INetworkAnalysisExtBarriers.SetDisabledLayer Method

Sets the disabled state for the specified feature layer.

[Visual Basic .NET]
Public Sub SetDisabledLayer ( _
    ByVal disabledLayer As IFeatureLayer, _
    ByVal isDisabled As Boolean _
)
[C#]
public void SetDisabledLayer (
    IFeatureLayer disabledLayer,
    bool isDisabled
);

Product Availability

Available with ArcGIS Desktop.

See Also

INetworkAnalysisExtBarriers Interface