Skip to content

AssignTripMatrixZoneMCs

Type ISIAPIAssignTripMatrixZoneMCs · Interface
Namespace SIDRASolutions.SI.API
Assembly SIDRASolutions.SI.API.dll
COM CLSID C67C120A-8B15-4948-8E14-4B8E25DDE158

AssignTripMatrixZoneMC wrapper collection interface

Declaration

[Guid("C67C120A-8B15-4948-8E14-4B8E25DDE158")]
public interface ISIAPIAssignTripMatrixZoneMCs

Members

Properties

Property Type Summary
Count int
this[] ISIAPIAssignTripMatrixZoneMC Get an Assign Trip Matrix Zone MC 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 Trip Matrix Zone MC object exists in the data storage.

Properties

Count

int Count { get; }

Type int

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

this[]

Get an Assign Trip Matrix Zone MC object.
Return null/Nothing if it does not exist in the data storage.

ISIAPIAssignTripMatrixZoneMC this[] { get; }

Type ISIAPIAssignTripMatrixZoneMC

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

Methods

MovementClassExists(int)

Get a value indicating whether an Assign Trip Matrix Zone MC 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 = assignTripMatrixZoneMCs.MovementClassExists(0);
VARIANT_BOOL result;
assignTripMatrixZoneMCs->MovementClassExists(0, &result);
result = assignTripMatrixZoneMCs.MovementClassExists(0)