ArcObjects Library Reference (DataSourcesFile)  

ISMRouterSetup2 Interface

Provides access to router restrictions settings.

Product Availability

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

Description

This interface is new at ArcGIS 9.3. It supersedes ISMRouterSetup2.

Members

Description
Read/write property BacktrackPolicy Controls the backtrack policy of the route solver.
Read/write property BacktrackPolicy Controls the backtrack policy of the route solver.
Method ClearAllRestrictions Removes all restrictions set on the route solver.
Method ClearAllRestrictions Removes all restrictions set on the route solver.
Method ClearRestriction The method removes restriction at specified position from the list.
Read/write property DirectionsLengthUnits The output length units used in driving directions.
Read/write property DirectionsLengthUnits The output length units used in driving directions.
Read-only property Restriction Restriction at the position, specified by index.
Read-only property RestrictionCount Number of restrictions in the list, which will be applied when finding route.
Method SetRestriction Sets a restriction to be used by the route solver.
Method SetRestriction Sets a restriction to be used by the route solver.

CoClasses that implement ISMRouterSetup2

CoClasses and Classes Description
SMRouter The object for calculating routes and defining route settings.

.NET Samples

StreetMap routing (Code Files: RestrictionsForm RoutingForm) |