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


INetSolver.DisableElementClass Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (NetworkAnalysis)  

INetSolver.DisableElementClass Method

Sets an element class as disabled within this solver.

[Visual Basic .NET]
Public Sub DisableElementClass ( _
    ByVal classID As Integer _
)
[C#]
public void DisableElementClass (
    int classID
);
[C++]
HRESULT DisableElementClass(
  long classID
);
[C++]

Parameters classID [in] classID is a parameter of type long

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

There is no means to reenable an element class that you have disabled with this method. For enabling and disabling element classes for tracing operations use INetworkAnalysisExtBarriers::SetDisabledLayer.

See Also

INetSolver Interface