New to Telerik ReportingStart a free 30-day trial

Represents a collection of CubeDataSourceParameter objects.

Definition

Namespace:Telerik.Reporting

Assembly:Telerik.Reporting.dll

Syntax:

C#
[TypeConverter("Telerik.Reporting.Design.CubeDataSourceParameterCollectionConverter, Telerik.Reporting.Design, Version=20.1.26.615, Culture=neutral, PublicKeyToken=a9d7983dfcc261be")]
public class CubeDataSourceParameterCollection : Collection<CubeDataSourceParameter>

Inheritance: objectCollection<CubeDataSourceParameter>CubeDataSourceParameterCollection

Constructors

Initializes a new instance of the CubeDataSourceParameterCollection class.

C#
public CubeDataSourceParameterCollection()

Initializes a new instance of the CubeDataSourceParameterCollection class.

C#
public CubeDataSourceParameterCollection(CubeDataSourceParameter[] parameters)
Parameters:parametersCubeDataSourceParameter[]

Specifies a range of parameters to add to the collection.

Initializes a new instance of the CubeDataSourceParameterCollection class.

C#
public CubeDataSourceParameterCollection(CubeDataSourceParameterCollection parameters)
Parameters:parametersCubeDataSourceParameterCollection

Specifies a range of parameters to add to the collection.

Properties

Gets the parameter with the specified name from the collection.

C#
public CubeDataSourceParameter this[string name] { get; }
Parameters:namestring

Specifies the name of a parameter from the collection.

Property Value:

The parameter with the specified name from the collection.

Methods

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

C#
public void Add(string name, object value)
Parameters:namestring

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

valueobject

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

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

C#
public void Add(string name)
Parameters:namestring

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

Adds a range of parameters to the collection.

C#
public void AddRange(CubeDataSourceParameterCollection parameters)
Parameters:parametersCubeDataSourceParameterCollection

Specifies a range of parameters to add to the collection.

Adds a range of parameters to the collection.

C#
public void AddRange(IEnumerable<CubeDataSourceParameter> parameters)
Parameters:parametersIEnumerable<CubeDataSourceParameter>

Specifies a range of parameters to add to the collection.

Clones the specified collection.

C#
public void Clone(CubeDataSourceParameterCollection source)
Parameters:sourceCubeDataSourceParameterCollection

The source collection.

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

C#
public bool Contains(string name)
Parameters:namestring

Specifies the name of a parameter from the collection.

Returns:

bool

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

C#
public CubeDataSourceParameter FirstOrNullWithCaseFallback(string parameterName)
Parameters:parameterNamestringReturns:

CubeDataSourceParameter

Converts the collection to an array of parameters.

C#
public CubeDataSourceParameter[] ToArray()
Returns:

CubeDataSourceParameter[]

Array of parameters contained in the collection.