Class SliceFields
A list of SliceField items
Inheritance
System.Object
SliceFields
Namespace: FastReport.Olap.Slice
Assembly: FastReport.Olap.dll
Syntax
public class SliceFields : IEnumerable
Constructors
SliceFields(Slice)
Declaration
public SliceFields(Slice slice)
Parameters
Type | Name | Description |
---|---|---|
Slice | slice |
Properties
ComparerType
Declaration
public FieldComparerType ComparerType { get; set; }
Property Value
Type | Description |
---|---|
FieldComparerType |
Count
Number of fields in list
Declaration
public int Count { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
AddCubeField(CubeField)
Adds a new SliceField with reference to CubeField
Declaration
public int AddCubeField(CubeField field)
Parameters
Type | Name | Description |
---|---|---|
CubeField | field | CubeField |
Returns
Type | Description |
---|---|
System.Int32 | SliceField index |
BuildTree()
Creates Tree with SliceField in nodes Mostly for internal use in grids
Declaration
public Tree BuildTree()
Returns
Type | Description |
---|---|
Tree | Tree |
GetEnumerator()
Declaration
public IEnumerator GetEnumerator()
Returns
Type | Description |
---|---|
System.Collections.IEnumerator |
GetFieldByCubeField(CubeField)
Get field with reference to CubeField
Declaration
public SliceField GetFieldByCubeField(CubeField cubeField)
Parameters
Type | Name | Description |
---|---|---|
CubeField | cubeField | CubeField to search |
Returns
Type | Description |
---|---|
SliceField | SliceField |
GetFieldByIndex(Int32)
Get field by field index
Declaration
public SliceField GetFieldByIndex(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | Field index |
Returns
Type | Description |
---|---|
SliceField | SliceField |
GetFieldByName(String)
Get field by name
Declaration
public SliceField GetFieldByName(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | Field name |
Returns
Type | Description |
---|---|
SliceField | SliceField |
GetFieldByOrder(Int32)
Get field by order
Declaration
public SliceField GetFieldByOrder(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | Field position |
Returns
Type | Description |
---|---|
SliceField | SliceField |
Load(XmlItem, Int32)
Load from XML
Declaration
public void Load(XmlItem item, int version)
Parameters
Type | Name | Description |
---|---|---|
XmlItem | item | XML item to load from |
System.Int32 | version | Format version |
Save(XmlItem)
Save to XML
Declaration
public void Save(XmlItem item)
Parameters
Type | Name | Description |
---|---|---|
XmlItem | item | XML item |