ScenarioCollection
Contents
[
Hide
]ScenarioCollection class
Represents the list of scenarios.
Properties
| Name | Type | Description |
|---|---|---|
| ActiveIndex | int | Gets and sets which scenario is selected. |
| LastSelected | int | Indicates which scenario was last selected by the user to be run/shown. |
| Count | int | |
| Item (int) | Scenario | Gets the Scenario object by the index. |
Methods
| Name | Description |
|---|---|
| add | Adds a scenario. |
| clear | |
| removeAt | |
| iterator | |
| get | Reserved for internal use. |
| contains | Reserved for internal use. |
| indexOf | Reserved for internal use. |
ScenarioCollection.ActiveIndex property
Gets and sets which scenario is selected.
Type: int
ScenarioCollection.LastSelected property
Indicates which scenario was last selected by the user to be run/shown.
Type: int
ScenarioCollection.Count property
Type: int
ScenarioCollection.Item (int) property
Gets the Scenario object by the index.
Type: Scenario
add(name) (1 of 2)
Adds a scenario.
| Parameter | Type | Description |
|---|---|---|
| name | String | The name of scenario. |
Returns: The index in the list of scenarios.
add(value) (2 of 2)
Reserved for internal use.
clear()
removeAt(index)
iterator()
get(index)
Reserved for internal use.
contains(value)
Reserved for internal use.
indexOf(value)
Reserved for internal use.