Class ContainerFields
Base class for list of Dimensions and Measures
Namespace: FastReport.Olap.Slice
Assembly: FastReport.Olap.dll
Syntax
public abstract class ContainerFields
Constructors
ContainerFields(FieldsContainer)
Declaration
public ContainerFields(FieldsContainer container)
Parameters
| Type | Name | Description |
|---|---|---|
| FieldsContainer | container |
Fields
container
Declaration
protected FieldsContainer container
Field Value
| Type | Description |
|---|---|
| FieldsContainer |
Properties
Container
Reference to container
Declaration
public FieldsContainer Container { get; }
Property Value
| Type | Description |
|---|---|
| FieldsContainer |
Count
Field count
Declaration
public int Count { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
Methods
GetFieldByIndex(Int32)
Get field by Index
Declaration
public ContainerField GetFieldByIndex(int index)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | index | Field index |
Returns
| Type | Description |
|---|---|
| ContainerField | Field |
IndexOf(ContainerField)
Get index of field
Declaration
public int IndexOf(ContainerField containerField)
Parameters
| Type | Name | Description |
|---|---|---|
| ContainerField | containerField | Field to search for |
Returns
| Type | Description |
|---|---|
| System.Int32 | Field index or -1 if not found |
IndexOf(String)
Get index of field
Declaration
public int IndexOf(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | Field name |
Returns
| Type | Description |
|---|---|
| System.Int32 | Field index or -1 if not found |