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


ISMStop.EnforceSideOfStreet Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (DataSourcesFile)  

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(
  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

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