AssignSchemeDemandScenarios¶
Type ISIAPIAssignSchemeDemandScenarios · Interface
Namespace SIDRASolutions.SI.API
Assembly SIDRASolutions.SI.API.dll
COM CLSID 392271DF-D6B1-4762-978E-768196E8ED37
AssignSchemeDemandScenario wrapper collection interface
Declaration¶
Members¶
Properties
| Property | Type | Summary |
|---|---|---|
| Count | int |
Gets the number of AssignSchemeDemandScenarios contained in the collection. |
| this[] | ISIAPIAssignSchemeDemandScenario |
Get the AssignSchemeDemandScenario from the collection by its name. |
| this[] | ISIAPIAssignSchemeDemandScenario |
Get the AssignSchemeDemandScenario at the specified index. |
Methods
| Method | Returns | Summary |
|---|---|---|
| AssignSchemeDemandScenarioExists(string) | bool |
Queries whether a particular AssignSchemeDemandScenario exists in the collection by its name. |
Properties¶
Count¶
Gets the number of AssignSchemeDemandScenarios contained in the collection.
Type int
Code samples
this[]¶
Get the AssignSchemeDemandScenario from the collection by its name.
Type ISIAPIAssignSchemeDemandScenario
Remarks
The AssignSchemeDemandScenario name is not unique in the collection. It is possible that more than one AssignSchemeDemandScenario has the same name. The first AssignSchemeDemandScenario found by name is returned. If no AssignSchemeDemandScenario is found, null / Nothing is returned.
In C#, use ISIAPIAssignSchemeDemandScenarios[] to get an AssignSchemeDemandScenario by its name or its position in the collection.
In VBA, use Item() to get an AssignSchemeDemandScenario by its name or use Item_2() to get it by its position.
In C++, use get_Item() to get an AssignSchemeDemandScenario by its name or use get_Item_2() to get it by its position.
Code samples
this[]¶
Get the AssignSchemeDemandScenario at the specified index.
Type ISIAPIAssignSchemeDemandScenario
Remarks
In C#, use ISIAPIAssignSchemeDemandScenarios[] to get an AssignSchemeDemandScenario by its name or its position in the collection.
In VBA, use Item() to get an AssignSchemeDemandScenario by its name or use Item_2() to get it by its position.
In C++, use get_Item() to get an AssignSchemeDemandScenario by its name or use get_Item_2() to get it by its position.
Code samples
Methods¶
AssignSchemeDemandScenarioExists(string)¶
Queries whether a particular AssignSchemeDemandScenario exists in the collection by its name.
Parameters
| Name | Type | Description |
|---|---|---|
scenarioName |
string |
AssignSchemeDemandScenario name to query |
Returns bool - Type: System.Bool True, if any AssignSchemeDemandScenario with the given name exists in the collection. False otherwise
Remarks
The AssignSchemeDemandScenario name is not unique in the collection. It is possible that more than one SiteScenario has the same name.