Skip to content

AssignTripMatrixZones

Type ISIAPIAssignTripMatrixZones · Interface
Namespace SIDRASolutions.SI.API
Assembly SIDRASolutions.SI.API.dll
COM CLSID AC7364D9-F6F5-43D4-9125-22424DB51DFA

AssignTripMatrixZone wrapper collection interface

Declaration

[Guid("AC7364D9-F6F5-43D4-9125-22424DB51DFA")]
public interface ISIAPIAssignTripMatrixZones

Members

Properties

Property Type Summary
Count int Gets the number of Assign Trip Matrix Zones contained in the collection.
this[] ISIAPIAssignTripMatrixZone Get an Assign Trip Matrix Zone by its ID showed in the Assign Volume Bin O-D Volumes dialog. Return the Assign Trip Matrix Zone if it exists in the data storage; otherwise, null/Nothing.
this[] ISIAPIAssignTripMatrixZone Get an Assign Trip Matrix Zone at the specified index.

Methods

Method Returns Summary
AssignTripMatrixZoneExists(string) bool Queries whether a particular Assign Trip Matrix Zone exists in the collection

Properties

Count

Gets the number of Assign Trip Matrix Zones contained in the collection.

int Count { get; }

Type int

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

this[]

Get an Assign Trip Matrix Zone by its ID showed in the Assign Volume Bin O-D Volumes dialog.
Return the Assign Trip Matrix Zone if it exists in the data storage; otherwise, null/Nothing.

ISIAPIAssignTripMatrixZone this[] { get; }

Type ISIAPIAssignTripMatrixZone

Remarks

In C#, use ISIAPIAssignZones[] to get an Assign Trip Matrix Zone by its ID or its position in the collection.
In VBA, use Item() to get an Assign Trip Matrix Zone by its ID or use Item_2() to get it by its position.
In C++, use get_Item() to get an Assign Trip Matrix Zone by its ID or use get_Item_2() to get it by its position.

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

this[]

Get an Assign Trip Matrix Zone at the specified index.

ISIAPIAssignTripMatrixZone this[] { get; }

Type ISIAPIAssignTripMatrixZone

Remarks

In C#, use ISIAPIAssignZones[] to get an Assign Trip Matrix Zone by its ID or its position in the collection.
In VBA, use Item() to get an Assign Trip Matrix Zone by its ID or use Item_2() to get it by its position.
In C++, use get_Item() to get an Assign Trip Matrix Zone by its ID or use get_Item_2() to get it by its position.

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

Methods

AssignTripMatrixZoneExists(string)

Queries whether a particular Assign Trip Matrix Zone exists in the collection

bool AssignTripMatrixZoneExists(string id)

Parameters

Name Type Description
id string Type: System.String; Zone ID (in the Assign Volume Bin O-D Volumes dialog) to query

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

Code samples
bool result = assignTripMatrixZones.AssignTripMatrixZoneExists(@"id-1");
VARIANT_BOOL result;
assignTripMatrixZones->AssignTripMatrixZoneExists(CComBSTR(L"id-1"), &result);
result = assignTripMatrixZones.AssignTripMatrixZoneExists(r"id-1")