Skip to content

AssignTripMatrixZoneODs

Type ISIAPIAssignTripMatrixZoneODs · Interface
Namespace SIDRASolutions.SI.API
Assembly SIDRASolutions.SI.API.dll
COM CLSID 48CC03AA-B50C-41CB-B5C0-F998F64D5889

AssignTripMatrixZoneOD wrapper collection interface

Declaration

[Guid("48CC03AA-B50C-41CB-B5C0-F998F64D5889")]
public interface ISIAPIAssignTripMatrixZoneODs

Members

Properties

Property Type Summary
Count int Gets the number of Assign Trip Matrix Zone OD objects contained in the collection.
this[] ISIAPIAssignTripMatrixZoneOD Get an Assign Trip Matrix Zone OD object by the Origin Zone ID and the Destination Zone ID showed in the Assign Volume Bin O-D Volumes dialog.
this[] ISIAPIAssignTripMatrixZoneOD Get an Assign Trip Matrix Zone OD object at the specified index.

Methods

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

Properties

Count

Gets the number of Assign Trip Matrix Zone OD objects contained in the collection.

int Count { get; }

Type int

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

this[]

Get an Assign Trip Matrix Zone OD object by the Origin Zone ID and the Destination Zone ID showed in the Assign Volume Bin O-D Volumes dialog.

ISIAPIAssignTripMatrixZoneOD this[] { get; }

Type ISIAPIAssignTripMatrixZoneOD - Return the Assign Trip Matrix Zone OD object if it exists in the data storage; otherwise, null/Nothing.

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

this[]

Get an Assign Trip Matrix Zone OD object at the specified index.

ISIAPIAssignTripMatrixZoneOD this[] { get; }

Type ISIAPIAssignTripMatrixZoneOD

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

Methods

ZoneODExists(string, string)

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

bool ZoneODExists(string originID, string destinationID)

Parameters

Name Type Description
originID string Type: System.String; Origin Zone's ID showed in the Assign Volume Bin O-D Volumes dialog.
destinationID string Type: System.String; Destination Zone's ID showed in the Assign Volume Bin O-D Volumes dialog.

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

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