Class CubeSourceCollection
Represents the collection of CubeSourceBase objects.
Inherited Members
Namespace: FastReport.Data
Assembly: FastReport.Base.dll
Syntax
public class CubeSourceCollection : FRCollectionBase, IList, ICollection, IEnumerable
Constructors
CubeSourceCollection(Base)
Initializes a new instance of the CubeSourceCollection class with default settings.
Declaration
public CubeSourceCollection(Base owner)
Parameters
Type | Name | Description |
---|---|---|
Base | owner | The owner of this collection. |
Properties
Item[Int32]
Gets or sets a data source.
Declaration
public CubeSourceBase this[int index] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The index of a data source in this collection. |
Property Value
Type | Description |
---|---|
CubeSourceBase | The data source with specified index. |
Methods
FindByAlias(String)
Finds a CubeSource by its alias.
Declaration
public CubeSourceBase FindByAlias(string alias)
Parameters
Type | Name | Description |
---|---|---|
System.String | alias | The alias of a CubeSource. |
Returns
Type | Description |
---|---|
CubeSourceBase | The CubeSourceBase object if found; otherwise null. |
FindByName(String)
Finds a CubeSource by its name.
Declaration
public CubeSourceBase FindByName(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The name of a CubeSource. |
Returns
Type | Description |
---|---|
CubeSourceBase | The CubeSourceBase object if found; otherwise null. |