Class AxisCollection
The axis collection is used by a cell set to represent the axes returned by a query. Each Axis contained by an AxisCollection represents a set of congruent tuples organized along one or more hierarchies.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.Olap.Data
Assembly: Syncfusion.Olap.Base.dll
Syntax
public class AxisCollection : CollectionBase, IList, ICollection, IEnumerable
Remarks
An axis collection is created in the constructor of cell set and it is used to hold all the axis information of the cell set. In UpdateAxis method of AdomdDataProvider class, axis are added in AxisCollection.
Constructors
AxisCollection()
Initializes a new instance of the AxisCollection class.
Declaration
public AxisCollection()
AxisCollection(CellSet)
Initializes a new instance of the AxisCollection class.
Declaration
public AxisCollection(CellSet parent_Cellset)
Parameters
Type | Name | Description |
---|---|---|
CellSet | parent_Cellset | The parent cellset. |
Properties
Item[Int32]
Gets or sets the Axis at the specified index.
Declaration
public Axis this[int index] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The index of the axis. |
Property Value
Type |
---|
Axis |
Methods
Add(Axis)
Adds the specified axis.
Declaration
public int Add(Axis axis)
Parameters
Type | Name | Description |
---|---|---|
Axis | axis | The axis which is to be added. |
Returns
Type | Description |
---|---|
System.Int32 | The index of the axis object in the current collection. |
Insert(Int32, Axis)
Inserts the axis at specified index.
Declaration
public void Insert(int index, Axis axis)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The index where the axis has to be inserted. |
Axis | axis | The column or row axis. |
Remove(Axis)
Removes the specified axis.
Declaration
public void Remove(Axis axis)
Parameters
Type | Name | Description |
---|---|---|
Axis | axis | The row or column axis which is to be removed. |