Skip to content

OutputAssignODPerformanceMCs

Type ISIAPIOutputAssignODPerformanceMCs · Interface
Namespace SIDRASolutions.SI.API
Assembly SIDRASolutions.SI.API.dll
COM CLSID A7E0D283-9FD8-443B-822F-844B4AE9AF1F

OutputAssignODPerformanceMC wrapper collection interface

Declaration

[Guid("A7E0D283-9FD8-443B-822F-844B4AE9AF1F")]
public interface ISIAPIOutputAssignODPerformanceMCs

Members

Properties

Property Type Summary
Count int
this[] ISIAPIOutputAssignODPerformanceMC Get an Assign OD Performance MC Output object. Return null/Nothing if it does not exist in the data storage.

Methods

Method Returns Summary
MovementClassExists(int) bool Get a value indicating whether an Assign OD Performance MC Output object exists in the data storage.

Properties

Count

int Count { get; }

Type int

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

this[]

Get an Assign OD Performance MC Output object.
Return null/Nothing if it does not exist in the data storage.

ISIAPIOutputAssignODPerformanceMC this[] { get; }

Type ISIAPIOutputAssignODPerformanceMC

Code samples
var this[] = outputAssignODPerformanceMCs.this[];
CComPtr<ISIAPIOutputAssignODPerformanceMC> this[];
outputAssignODPerformanceMCs->get_this[](&this[]);
this[] = outputAssignODPerformanceMCs.this[]

Methods

MovementClassExists(int)

Get a value indicating whether an Assign OD Performance MC Output object exists in the data storage.

bool MovementClassExists(int mcClass)

Parameters

Name Type Description
mcClass int Type: System.Int32; 1 = Light Vehicles, 2 = Heavy Vehicles, 3 = Buses, 4 = Bicycles, 5 = Large Trucks, 6 = Trams, 7 = User Class 1, 8 = User Class 2, 9 = User Class 3, 10 = User Class 4, 11 = User Class 5, 12 = User Class 6.

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

Code samples
bool result = outputAssignODPerformanceMCs.MovementClassExists(0);
VARIANT_BOOL result;
outputAssignODPerformanceMCs->MovementClassExists(0, &result);
result = outputAssignODPerformanceMCs.MovementClassExists(0)