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


ISMStop.EnforceSideOfStreet Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > DataSourcesFile > ESRI.ArcGIS.DataSourcesFile > Interfaces > IS > ISMStop Interface > ISMStop.EnforceSideOfStreet Property
ArcGIS Developer Help

ISMStop.EnforceSideOfStreet Property

Indicates whether shortest path is restricted when traveling to and from the given stop.

[Visual Basic .NET]
Public Property EnforceSideOfStreet As Boolean
[C#]
public bool EnforceSideOfStreet {get; set;}
[C++]
HRESULT get_EnforceSideOfStreet(
void
);
[C++]
HRESULT put_EnforceSideOfStreet(
);

Product Availability

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

Description

Enforces street side at the stop. Returns the street side.

Remarks

If this value is set to true, the shortest path is restricted when traveling to and from the given stop. The restriction is that the shortest path can enter the street from only one end-point and exit from the other, depending on which side of the street the stop is located. If the flag is not set, the shortest path can enter the street in either direction.  Unless otherwise specified by the caller, the default value for this flag is false.

Note: If the street is one-way, the shortest path always enters the street in the correct direction.

See Also

ISMStop Interface