ArcObjects Library Reference  (NetworkAnalysis)    

INetSolver.DisableElementClass Method

Sets an element class as disabled within this solver.

[Visual Basic 6.0]
Sub DisableElementClass(
    ByVal classID As Long _
)
[Visual Basic .NET]
Public Sub DisableElementClass ( _
    ByVal classID As Integer _
)
[C#]
public void DisableElementClass (
    int classID
);
[Java]
public void disableElementClass (
    int classID
)
throws
    IOException,
    AutomationException
[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

 


Feedback Send feedback on this page