This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > DataSourcesFile > ESRI.ArcGIS.DataSourcesFile > Interfaces > IS > ISMStop Interface > ISMStop.EnforceSideOfStreet Property (ArcObjects .NET 10.4 SDK) |
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(
VARIANT_BOOL* pbESS
);
[C++]
HRESULT put_EnforceSideOfStreet(
VARIANT_BOOL pbESS
);
[C++]
Parameters pbESS [out, retval] pbESS is a parameter of type VARIANT_BOOL pbESS [in] pbESS is a parameter of type VARIANT_BOOL
Enforces street side at the stop. Returns the street side.
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.