Class SummaryElements
Represents the information needed for summary element i.e., measure or fact section of Non-OLAP (IEnumerable or IList or DataTable) data.
Implements
Inherited Members
Namespace: Syncfusion.Olap.Reports
Assembly: Syncfusion.Olap.Base.dll
Syntax
public class SummaryElements : Element, ICloneable<Element>
Constructors
SummaryElements()
Initializes a new instance of the SummaryElements class.
Declaration
public SummaryElements()
Properties
SummaryCollection
Gets the collection of summary information.
Declaration
public List<SummaryInfo> SummaryCollection { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<SummaryInfo> | The collection of summary information. |
Methods
Add(SummaryInfo)
Adds the specified summary information.
Declaration
public void Add(SummaryInfo summaryInfo)
Parameters
Type | Name | Description |
---|---|---|
SummaryInfo | summaryInfo | The summary information object to be added. |
Insert(Int32, SummaryInfo)
Inserts the summary information object at specified index.
Declaration
public void Insert(int index, SummaryInfo summaryInfo)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The index at which the summary information object has to be inserted. |
SummaryInfo | summaryInfo | The summary information object which is to be inserted. |
Remove(SummaryInfo)
Removes the specified summary information.
Declaration
public void Remove(SummaryInfo summaryInfo)
Parameters
Type | Name | Description |
---|---|---|
SummaryInfo | summaryInfo | The summary information object which is to be removed. |
RemoveAll(Predicate<SummaryInfo>)
Removes all the summary information that matches the predicate.
Declaration
public void RemoveAll(Predicate<SummaryInfo> match)
Parameters
Type | Name | Description |
---|---|---|
System.Predicate<SummaryInfo> | match | The predicate to be matched. |
RemoveAt(Int32)
Removes the element at the specified index of the System.Collections.CollectionBase instance. This method is not overridable.
Declaration
public void RemoveAt(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The zero-based index of the element to remove. |
Exceptions
Type | Condition |
---|---|
System.ArgumentOutOfRangeException |
|