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