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 _
public void DisableElementClass (
    int classID
HRESULT DisableElementClass(
  long classID


classID [in]   classID is a parameter of type long

Product Availability

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


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