ClassCubeDataSourceParameterCollection
Represents a collection of CubeDataSourceParameter objects.
Definition
Namespace:Telerik.Reporting
Assembly:Telerik.Reporting.dll
Syntax:
[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
public CubeDataSourceParameterCollection()
CubeDataSourceParameterCollection(CubeDataSourceParameterCollection)
Initializes a new instance of the CubeDataSourceParameterCollection class.
Declaration
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
public CubeDataSourceParameterCollection(CubeDataSourceParameter[] parameters)
Parameters
parameters
Specifies a range of parameters to add to the collection.
Properties
this[string]
Gets the parameter with the specified name from the collection.
Declaration
public CubeDataSourceParameter this[string name] { get; }
Parameters
name
string
Specifies the name of a parameter from the collection.
Property Value
The parameter with the specified name from the collection.
Methods
Add(string)
Adds a new parameter with the specified name to the collection.
Declaration
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
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
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
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
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
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
public CubeDataSourceParameter FirstOrNullWithCaseFallback(string parameterName)
Parameters
parameterName
string
Returns
ToArray()
Converts the collection to an array of parameters.
Declaration
public CubeDataSourceParameter[] ToArray()
Returns
Array of parameters contained in the collection.