Skip to content

TwoWaySignControlAdjMajorNumLanes

Type 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

Members

Properties

Property Type Summary
Count int
this[] ISIAPITwoWaySignControlAdjMajorNumLane 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.

Methods

Method Returns Summary
Exists(int, int) bool Get a value indicating whether the data object exists in the data storage.

Properties

Count

int Count { get; }

Type int

Code samples
int count = twoWaySignControlAdjMajorNumLanes.Count;
long count;
twoWaySignControlAdjMajorNumLanes->get_Count(&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[];
CComPtr<ISIAPITwoWaySignControlAdjMajorNumLane> this[];
twoWaySignControlAdjMajorNumLanes->get_this[](&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);
VARIANT_BOOL result;
twoWaySignControlAdjMajorNumLanes->Exists(1, 0, &result);
result = twoWaySignControlAdjMajorNumLanes.Exists(1, 0)
$result = $twoWaySignControlAdjMajorNumLanes.Exists(1, 0)