ClassObjectDataSourceParameterCollection
Represents a collection of ObjectDataSourceParameter objects.
Definition
Namespace:Telerik.Reporting
Assembly:Telerik.Reporting.dll
Syntax:
[TypeConverter("Telerik.Reporting.Design.ObjectDataSourceParameterCollectionConverter, Telerik.Reporting.Design, Version=19.3.26.121, Culture=neutral, PublicKeyToken=a9d7983dfcc261be")]
public class ObjectDataSourceParameterCollection : Collection<ObjectDataSourceParameter>
Inheritance: objectCollection<ObjectDataSourceParameter>ObjectDataSourceParameterCollection
Constructors
ObjectDataSourceParameterCollection()
Initializes a new instance of the ObjectDataSourceParameterCollection class.
Declaration
public ObjectDataSourceParameterCollection()
ObjectDataSourceParameterCollection(ObjectDataSourceParameterCollection)
Initializes a new instance of the ObjectDataSourceParameterCollection class.
Declaration
public ObjectDataSourceParameterCollection(ObjectDataSourceParameterCollection parameters)
Parameters
parameters
ObjectDataSourceParameterCollection
Specifies a range of parameters to add to the collection.
ObjectDataSourceParameterCollection(ObjectDataSourceParameter[])
Initializes a new instance of the ObjectDataSourceParameterCollection class.
Declaration
public ObjectDataSourceParameterCollection(ObjectDataSourceParameter[] 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 ObjectDataSourceParameter 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, Type)
Adds a new parameter with the specified name and data type to the collection.
Declaration
public void Add(string name, Type dataType)
Parameters
name
string
Specifies the name of the new parameter to add to the collection.
dataType
Type
Specifies the data type of the new parameter to add to the collection.
Add(string, Type, object)
Adds a new parameter with the specified name, data type and value to the collection.
Declaration
public void Add(string name, Type dataType, object value)
Parameters
name
string
Specifies the name of the new parameter to add to the collection.
dataType
Type
Specifies the data type of the new parameter to add to the collection.
value
object
Specifies the value of the new parameter to add to the collection.
AddRange(IEnumerable<ObjectDataSourceParameter>)
Adds a range of parameters to the collection.
Declaration
public void AddRange(IEnumerable<ObjectDataSourceParameter> parameters)
Parameters
parameters
IEnumerable<ObjectDataSourceParameter>
Specifies a range of parameters to add to the collection.
AddRange(ObjectDataSourceParameterCollection)
Adds a range of parameters to the collection.
Declaration
public void AddRange(ObjectDataSourceParameterCollection parameters)
Parameters
parameters
ObjectDataSourceParameterCollection
Specifies a range of parameters to add to the collection.
Clone(ObjectDataSourceParameterCollection)
Clones the specified collection.
Declaration
public void Clone(ObjectDataSourceParameterCollection source)
Parameters
source
ObjectDataSourceParameterCollection
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.
ToArray()
Converts the collection to an array of parameters.
Declaration
public ObjectDataSourceParameter[] ToArray()
Returns
Array of parameters contained in the collection.