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


INetworkAnalysisExtBarriers.SetDisabledLayer Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > EditorExt > ESRI.ArcGIS.EditorExt > Interfaces > IN > INetworkAnalysisExtBarriers Interface > INetworkAnalysisExtBarriers.SetDisabledLayer Method
ArcGIS Developer Help

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