Class
CubeDataSourceParameterCollection

Represents a collection of CubeDataSourceParameter objects.

Definition

Namespace:Telerik.Reporting

Assembly:Telerik.Reporting.dll

Syntax:

cs-api-definition
[TypeConverter("Telerik.Reporting.Design.CubeDataSourceParameterCollectionConverter, Telerik.Reporting.Design, Version=20.0.26.211, Culture=neutral, PublicKeyToken=a9d7983dfcc261be")]
public class CubeDataSourceParameterCollection : Collection<CubeDataSourceParameter>

Inheritance: objectCollection<CubeDataSourceParameter>CubeDataSourceParameterCollection

Constructors

CubeDataSourceParameterCollection()

Initializes a new instance of the CubeDataSourceParameterCollection class.

Declaration

cs-api-definition
public CubeDataSourceParameterCollection()

CubeDataSourceParameterCollection(CubeDataSourceParameterCollection)

Initializes a new instance of the CubeDataSourceParameterCollection class.

Declaration

cs-api-definition
public CubeDataSourceParameterCollection(CubeDataSourceParameterCollection parameters)

Parameters

parameters

CubeDataSourceParameterCollection

Specifies a range of parameters to add to the collection.

CubeDataSourceParameterCollection(CubeDataSourceParameter[])

Initializes a new instance of the CubeDataSourceParameterCollection class.

Declaration

cs-api-definition
public CubeDataSourceParameterCollection(CubeDataSourceParameter[] parameters)

Parameters

parameters

CubeDataSourceParameter[]

Specifies a range of parameters to add to the collection.

Properties

this[string]

Gets the parameter with the specified name from the collection.

Declaration

cs-api-definition
public CubeDataSourceParameter this[string name] { get; }

Parameters

name

string

Specifies the name of a parameter from the collection.

Property Value

CubeDataSourceParameter

The parameter with the specified name from the collection.

Methods

Add(string)

Adds a new parameter with the specified name to the collection.

Declaration

cs-api-definition
public void Add(string name)

Parameters

name

string

Specifies the name of the new parameter to add to the collection.

Add(string, object)

Adds a new parameter with the specified name and value to the collection.

Declaration

cs-api-definition
public void Add(string name, object value)

Parameters

name

string

Specifies the name of the new parameter to add to the collection.

value

object

Specifies the value of the new parameter to add to the collection.

AddRange(CubeDataSourceParameterCollection)

Adds a range of parameters to the collection.

Declaration

cs-api-definition
public void AddRange(CubeDataSourceParameterCollection parameters)

Parameters

parameters

CubeDataSourceParameterCollection

Specifies a range of parameters to add to the collection.

AddRange(IEnumerable<CubeDataSourceParameter>)

Adds a range of parameters to the collection.

Declaration

cs-api-definition
public void AddRange(IEnumerable<CubeDataSourceParameter> parameters)

Parameters

parameters

IEnumerable<CubeDataSourceParameter>

Specifies a range of parameters to add to the collection.

Clone(CubeDataSourceParameterCollection)

Clones the specified collection.

Declaration

cs-api-definition
public void Clone(CubeDataSourceParameterCollection source)

Parameters

source

CubeDataSourceParameterCollection

The source collection.

Contains(string)

Determines if the collection contains a parameter with the specified name.

Declaration

cs-api-definition
public bool Contains(string name)

Parameters

name

string

Specifies the name of a parameter from the collection.

Returns

bool

True if a parameter with the specified name exists, False otherwise.

FirstOrNullWithCaseFallback(string)

Declaration

cs-api-definition
public CubeDataSourceParameter FirstOrNullWithCaseFallback(string parameterName)

Parameters

parameterName

string

Returns

CubeDataSourceParameter

ToArray()

Converts the collection to an array of parameters.

Declaration

cs-api-definition
public CubeDataSourceParameter[] ToArray()

Returns

CubeDataSourceParameter[]

Array of parameters contained in the collection.