Class KpiCollection
A Collection of KPI objects
Inheritance
System.Object
KpiCollection
Namespace: Syncfusion.Olap.UWP.Data
Assembly: Syncfusion.Olap.UWP.dll
Syntax
public class KpiCollection : Collection<Kpi>
Constructors
KpiCollection()
Initializes a new instance of the KpiCollection class.
Declaration
public KpiCollection()
KpiCollection(CubeSchema)
Initializes a new instance of the KpiCollection class.
Declaration
public KpiCollection(CubeSchema parentCubeSchema)
Parameters
Type | Name | Description |
---|---|---|
CubeSchema | parentCubeSchema | The parent cube schema. |
Methods
FindByName(String)
Finds the KPI by its name
Declaration
public Kpi FindByName(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The name of the KPI. |
Returns
Type | Description |
---|---|
Kpi | The KPI object. |
FindByUniqueName(String)
Finds the KPI by its unique name
Declaration
public Kpi FindByUniqueName(string uniqueName)
Parameters
Type | Name | Description |
---|---|---|
System.String | uniqueName | The unique name of the KPI. |
Returns
Type | Description |
---|---|
Kpi | The KPI object. |
InsertItem(Int32, Kpi)
Inserts an element into the System.Collections.ObjectModel.Collection<> at the specified index.
Declaration
protected override void InsertItem(int index, Kpi item)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The zero-based index at which item should be inserted. |
Kpi | item | The object to insert. The value can be null for reference types. |
SetItem(Int32, Kpi)
Replaces the element at the specified index.
Declaration
protected override void SetItem(int index, Kpi item)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The zero-based index of the element to replace. |
Kpi | item | The new value for the element at the specified index. The value can be null for reference types. |