Class CollectionSumVariables
- Namespace
- combit.Reporting.Dom
- Assembly
- combit.ListLabel31.CrossPlatform.dll
Represents a collection of sum variables in the report project.
public class CollectionSumVariables : DomCollectionBase<SumVariable>, IList<SumVariable>, ICollection<SumVariable>, IReadOnlyList<SumVariable>, IReadOnlyCollection<SumVariable>, IEnumerable<SumVariable>, IList, ICollection, IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged, IDomCollectionBase
- Inheritance
-
CollectionSumVariables
- Implements
- Inherited Members
Properties
this[string]
Gets the SumVariable with the specified name.
public SumVariable this[string variableName] { get; }
Parameters
variableNamestringThe name of the variable to retrieve.
Property Value
- SumVariable
The SumVariable with the given name, or
nullif not found.
Methods
AddNew()
Adds a new SumVariable to the collection.
public SumVariable AddNew()
Returns
- SumVariable
The newly added SumVariable.
AddNew(string, string)
Adds a new SumVariable with the specified name and contents.
public SumVariable AddNew(string name, string contents)
Parameters
Returns
- SumVariable
The newly added SumVariable.
GetVariable(string)
Finds a sum variable by its name.
protected SumVariable GetVariable(string variableName)
Parameters
variableNamestringThe name of the variable to find.
Returns
- SumVariable
The SumVariable with the specified name, or
nullif not found.