Skip to content

OutputMovementPed_GreenPeriods

Type ISIAPIOutputMovementPed_GreenPeriods · Interface
Namespace SIDRASolutions.SI.API
Assembly SIDRASolutions.SI.API.dll
COM CLSID EDFEE1C1-0FFF-4F18-B226-1B441787E042

Declaration

[Guid("EDFEE1C1-0FFF-4F18-B226-1B441787E042")]
public interface ISIAPIOutputMovementPed_GreenPeriods

Members

Properties

Property Type Summary
Count int
this[] ISIAPIOutputMovementPed_GreenPeriod Get a Pedestrian Movement Output Green Period. Return a Pedestrian Movement Output Green Period if it exists in the data storage; otherwise, null/Nothing.

Methods

Method Returns Summary
GreenPeriodExists(int) bool Get a value indicating whether a Pedestrian Movement Output Green Period exists in the data storage.

Properties

Count

int Count { get; }

Type int

Code samples
int count = outputMovementPed_GreenPeriods.Count;
long count;
outputMovementPed_GreenPeriods->get_Count(&count);
count = outputMovementPed_GreenPeriods.Count
$count = $outputMovementPed_GreenPeriods.Count

this[]

Get a Pedestrian Movement Output Green Period.
Return a Pedestrian Movement Output Green Period if it exists in the data storage; otherwise, null/Nothing.

ISIAPIOutputMovementPed_GreenPeriod this[] { get; }

Type ISIAPIOutputMovementPed_GreenPeriod

Code samples
var this[] = outputMovementPed_GreenPeriods.this[];
CComPtr<ISIAPIOutputMovementPed_GreenPeriod> this[];
outputMovementPed_GreenPeriods->get_this[](&this[]);
this[] = outputMovementPed_GreenPeriods.this[]
$this[] = $outputMovementPed_GreenPeriods.this[]

Methods

GreenPeriodExists(int)

Get a value indicating whether a Pedestrian Movement Output Green Period exists in the data storage.

bool GreenPeriodExists(int greenperiod)

Parameters

Name Type Description
greenperiod int A one-based integer.

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

Code samples
bool result = outputMovementPed_GreenPeriods.GreenPeriodExists(0);
VARIANT_BOOL result;
outputMovementPed_GreenPeriods->GreenPeriodExists(0, &result);
result = outputMovementPed_GreenPeriods.GreenPeriodExists(0)
$result = $outputMovementPed_GreenPeriods.GreenPeriodExists(0)