ISIAPISiteVolumeBins Interface¶
Namespace: SIDRASolutions.SI.API
Assembly: SIDRASolutions.SI.API.dll
COM CLSID: D5CC5F3A-584F-4075-9877-FED977A3C7A8
SiteVolumeBin collection wrapper interface
Declaration¶
Get an instance¶
Properties¶
Count¶
Gets the number of SiteVolumeBins contained in the collection.
Type int
Code samples
this[]¶
Get the SiteVolumeBin from the collection by its name.
Type ISIAPISiteVolumeBin
Remarks
The SiteVolumeBin name is not unique in the collection. It is possible that more than one SiteVolumeBin has the same name. The first SiteVolumeBin found by name is returned. If no SiteVolumeBin is found, null / Nothing is returned.
In C#, use ISIAPISiteVolumeBins[] to get a Site by its name or its position in the collection.
In VBA, use Item() to get a SiteVolumeBin by its name or use Item_2() to get by its position.
In C++, use get_Item() to get a SiteVolumeBin by its name or use get_Item_2() by its position.
Code samples
this[]¶
Get the SiteVolumeBin at the specified index.
Type ISIAPISiteVolumeBin
Remarks
In C#, use ISIAPISiteVolumeBins[] to get a SiteVolumeBin by its name or its position in the collection.
In VBA, use Item() to get a SiteVolumeBin by its name or use Item_2() to get by its position.
In C++, use get_Item() to get a SiteVolumeBin by its name or use get_Item_2() by its position.
Code samples
Methods¶
SiteVolumeBinExists(string)¶
Queries whether a particular SiteVolumeBin exists in the collection by its name.
Parameters
| Name | Type | Description |
|---|---|---|
siteVolumeBinName |
string |
SiteVolumeBin name to query |
Returns bool - True, if any SiteVolumeBin with the given name exists in the collection. False otherwise
Remarks
The SiteVolumeBin name is not unique in the collection. It is possible that more than one SiteVolumeBin has the same name.
Code samples
GetSiteVolumeBinByID(string)¶
Get the SiteVolumeBin by its GUID.
Parameters
| Name | Type | Description |
|---|---|---|
siteVolumeBin_id |
string |
The GUID of the SiteVolumeBin object, i.e. ISIAPISiteVolumeBin.SiteVolumeBin_id. This is different from the "Site Volume Bin ID" in the Site Bin Setup dialog, i.e. ISIAPISiteVolumeBin.ID. |
Returns ISIAPISiteVolumeBin