Table of Contents

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

variableName string

The name of the variable to retrieve.

Property Value

SumVariable

The SumVariable with the given name, or null if 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

name string

The name of the variable.

contents string

The expression contents of the variable.

Returns

SumVariable

The newly added SumVariable.

GetVariable(string)

Finds a sum variable by its name.

protected SumVariable GetVariable(string variableName)

Parameters

variableName string

The name of the variable to find.

Returns

SumVariable

The SumVariable with the specified name, or null if not found.