Class CubeDataSourceParameterCollection
Represents a collection of CubeDataSourceParameter objects.
Inheritance
Namespace: Telerik.Reporting
Assembly: Telerik.Reporting.dll
Syntax
public class CubeDataSourceParameterCollection : Collection<CubeDataSourceParameter>, IList<CubeDataSourceParameter>, ICollection<CubeDataSourceParameter>, IList, ICollection, IReadOnlyList<CubeDataSourceParameter>, IReadOnlyCollection<CubeDataSourceParameter>, IEnumerable<CubeDataSourceParameter>, IEnumerable
Constructors
CubeDataSourceParameterCollection()
Initializes a new instance of the CubeDataSourceParameterCollection class.
Declaration
public CubeDataSourceParameterCollection()
CubeDataSourceParameterCollection(CubeDataSourceParameter[])
Initializes a new instance of the CubeDataSourceParameterCollection class.
Declaration
public CubeDataSourceParameterCollection(CubeDataSourceParameter[] parameters)
Parameters
|
CubeDataSourceParameter[]
parameters
Specifies a range of parameters to add to the collection. |
CubeDataSourceParameterCollection(CubeDataSourceParameterCollection)
Initializes a new instance of the CubeDataSourceParameterCollection class.
Declaration
public CubeDataSourceParameterCollection(CubeDataSourceParameterCollection parameters)
Parameters
|
CubeDataSourceParameterCollection
parameters
Specifies a range of parameters to add to the collection. |
Properties
Item[String]
Gets the parameter with the specified name from the collection.
Declaration
public CubeDataSourceParameter this[string name] { get; }
Parameters
|
System.String
name
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
public void Add(string name)
Parameters
|
System.String
name
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
|
System.String
name
Specifies the name of the new parameter to add to the collection. |
|
System.Object
value
Specifies the value of the new parameter to add to the collection. |
AddRange(IEnumerable<CubeDataSourceParameter>)
Adds a range of parameters to the collection.
Declaration
public void AddRange(IEnumerable<CubeDataSourceParameter> parameters)
Parameters
|
System.Collections.Generic.IEnumerable<CubeDataSourceParameter>
parameters
Specifies a range of parameters to add to the collection. |
AddRange(CubeDataSourceParameterCollection)
Adds a range of parameters to the collection.
Declaration
public void AddRange(CubeDataSourceParameterCollection parameters)
Parameters
|
CubeDataSourceParameterCollection
parameters
Specifies a range of parameters to add to the collection. |
Clone(CubeDataSourceParameterCollection)
Clones the specified collection.
Declaration
public void Clone(CubeDataSourceParameterCollection source)
Parameters
|
CubeDataSourceParameterCollection
source
The source collection. |
Contains(String)
Determines if the collection contains a parameter with the specified name.
Declaration
public bool Contains(string name)
Parameters
|
System.String
name
Specifies the name of a parameter from the collection. |
Returns
|
System.Boolean
True if a parameter with the specified name exists, False otherwise. |
FirstOrNullWithCaseFallback(String)
Declaration
public CubeDataSourceParameter FirstOrNullWithCaseFallback(string parameterName)
Parameters
|
System.String
parameterName
|
Returns
|
CubeDataSourceParameter
|
ToArray()
Converts the collection to an array of parameters.
Declaration
public CubeDataSourceParameter[] ToArray()
Returns
|
CubeDataSourceParameter[]
Array of parameters contained in the collection. |