Skip to content

ISIAPITwoWaySignControlAdjMajorNumLanes Interface

Namespace: SIDRASolutions.SI.API
Assembly: SIDRASolutions.SI.API.dll COM CLSID: 495A9B34-3AD7-466D-978D-E9FF7291141F

Declaration

[Guid("495A9B34-3AD7-466D-978D-E9FF7291141F")]
public interface ISIAPITwoWaySignControlAdjMajorNumLanes

Get an instance

// Navigate to the ISIAPITwoWaySignControlAdjMajorNumLanes you need via the ISIAPI tree.
// See ISIAPI for the activation root.
var twoWaySignControlAdjMajorNumLanes = /* ... */;
' Navigate to the ISIAPITwoWaySignControlAdjMajorNumLanes you need via the ISIAPI tree.
' See ISIAPI for the activation root.
Dim twoWaySignControlAdjMajorNumLanes As ISIAPITwoWaySignControlAdjMajorNumLanes = Nothing
# Navigate to the ISIAPITwoWaySignControlAdjMajorNumLanes you need via the ISIAPI tree.
# See ISIAPI for the activation root.
twoWaySignControlAdjMajorNumLanes = ...
# Navigate to the ISIAPITwoWaySignControlAdjMajorNumLanes you need via the ISIAPI tree.
# See ISIAPI for the activation root.
$twoWaySignControlAdjMajorNumLanes = $null

Properties

Count

int Count { get; }

Type int

Code samples
int count = twoWaySignControlAdjMajorNumLanes.Count;
Dim count As Integer = twoWaySignControlAdjMajorNumLanes.Count
count = twoWaySignControlAdjMajorNumLanes.Count
$count = $twoWaySignControlAdjMajorNumLanes.Count

this[]

Get a data object for the specified Number of Lanes on Major Road and the Movement Type.
Return an object if it exists in the data storage; otherwise, null/Nothing.

ISIAPITwoWaySignControlAdjMajorNumLane this[] { get; }

Type ISIAPITwoWaySignControlAdjMajorNumLane

Code samples
var this[] = twoWaySignControlAdjMajorNumLanes.this[];
Dim this[] As ISIAPITwoWaySignControlAdjMajorNumLane = twoWaySignControlAdjMajorNumLanes.this[]
this[] = twoWaySignControlAdjMajorNumLanes.this[]
$this[] = $twoWaySignControlAdjMajorNumLanes.this[]

Methods

Exists(int, int)

Get a value indicating whether the data object exists in the data storage.

bool Exists(int majorRoadNumOfLane, int movType)

Parameters

Name Type Description
majorRoadNumOfLane int Can be 2, 3, 5, 6.
movType int One of: - 1 - Minor Road Left Turn - 2 - Minor Road Through - 3 - Minor Road Right Turn - 4 - Major Road Turn (Right or Left)

Returns bool - true if it exists in the data storage; otherwise, false

Code samples
bool result = twoWaySignControlAdjMajorNumLanes.Exists(1, 0);
Dim result As Boolean = twoWaySignControlAdjMajorNumLanes.Exists(1, 0)
result = twoWaySignControlAdjMajorNumLanes.Exists(1, 0)
$result = $twoWaySignControlAdjMajorNumLanes.Exists(1, 0)