ErrorEstimationCollection
A collection of solution error estimations for this solution configuration.
Example
app = cf.GetApplication() project = app:NewProject() standardConfiguration = project.SolutionConfigurations:AddStandardConfiguration() -- Create a new 'ErrorEstimation' request errorEstimation = standardConfiguration.ErrorEstimations:Add() -- Find out whether the 'ErrorEstimationCollection' contains the ErrorEstimation contains = standardConfiguration.ErrorEstimations:Contains('ErrorEstimation1')
Usage locations (collections)
The following objects contain the ErrorEstimationCollection collection:
Property List
Method List
- Add ()
- Create an error estimation request. (Returns a ErrorEstimation object.)
- Add (properties table)
- Create an error estimation request using the table of properties. (Returns a ErrorEstimation object.)
- Contains (label string)
- Checks if the collection contains an item with the given label. (Returns a boolean object.)
- Item (index number)
- Returns the ErrorEstimation at the given index. (Returns a ErrorEstimation object.)
- Item (label string)
- Returns the ErrorEstimation with the given label. (Returns a ErrorEstimation object.)
- Items ()
- Returns a table of ErrorEstimation. (Returns a List of ErrorEstimation object.)
- UniqueName (label string)
- Generates a unique name base of of the provided base name.If the base name already exists in the collection, a digit will be appended until a valid name is generated. (Returns a boolean object.)
Index List
- [number]
- Returns the ErrorEstimation at the given index in the collection. (Read ErrorEstimation)
- [string]
- Returns the ErrorEstimation with the given name in the collection. (Read ErrorEstimation)
Property Details
Method Details
- Add ()
- Create an error estimation request.
- Return
- ErrorEstimation
- The error estimation request.
- Add (properties table)
- Create an error estimation request using the table of properties.
- Input Parameters
- properties(table)
- The table of properties.
- Return
- ErrorEstimation
- The error estimation request.
- Contains (label string)
- Checks if the collection contains an item with the given label.
- Item (index number)
- Returns the ErrorEstimation at the given index.
- Input Parameters
- index(number)
- The index of the ErrorEstimation.
- Return
- ErrorEstimation
- The ErrorEstimation at the given index.
- Item (label string)
- Returns the ErrorEstimation with the given label.
- Input Parameters
- label(string)
- The label of the ErrorEstimation.
- Return
- ErrorEstimation
- The ErrorEstimation with the given label.
- Items ()
- Returns a table of ErrorEstimation.
- Return
- List of ErrorEstimation
- A table of ErrorEstimation.
- UniqueName (label string)
- Generates a unique name base of of the provided base name.If the base name already exists in the collection, a digit will be appended until a valid name is generated.