combit List & Label 27 - .NET Help
combit.Reporting.Dom Namespace / CollectionSumVariables Class
Members Example

In This Topic
    CollectionSumVariables Class
    In This Topic
    This collection contains the sum variables of the current project. It can also be used to add new sum variables to the project.
    Object Model
    CollectionSumVariables ClassSumVariable Class
    Public Class CollectionSumVariables 
       Inherits combit.Reporting.Dom.DomCollectionBase(Of SumVariable)
    public class CollectionSumVariables : combit.Reporting.Dom.DomCollectionBase<SumVariable> 
    public ref class CollectionSumVariables : public combit.Reporting.Dom.DomCollectionBase<SumVariable> 
    // add new sum variable
    SumVariable sumVar = new SumVariable(proj.SumVariables); 
    // set sum variable options
    sumVar.Name = "@Sum01"; 
    sumVar.Contents = "1234"; 
    sumVar.IsPageSum = "True"; 
    // iterate all sum variables
    foreach(SumVariable sumVariable in proj.SumVariables) 
        string sumVarName = sumVariable.Name 
    Inheritance Hierarchy



    Platforms: Windows 8.1, Windows 10 (Version 20H2 - 21H2), Windows 11 (21H2), Windows Server 2012 - 2022

    See Also