Class ObjectDataSourceParameterCollection
Represents a collection of Object
Inheritance
Namespace: Telerik.Reporting
Assembly: Telerik.Reporting.dll
Syntax
public class ObjectDataSourceParameterCollection : Collection<ObjectDataSourceParameter>, IList<ObjectDataSourceParameter>, ICollection<ObjectDataSourceParameter>, IList, ICollection, IReadOnlyList<ObjectDataSourceParameter>, IReadOnlyCollection<ObjectDataSourceParameter>, IEnumerable<ObjectDataSourceParameter>, IEnumerable
Constructors
ObjectDataSourceParameterCollection()
Initializes a new instance of the Object
Declaration
public ObjectDataSourceParameterCollection()
ObjectDataSourceParameterCollection(ObjectDataSourceParameter[])
Initializes a new instance of the Object
Declaration
public ObjectDataSourceParameterCollection(ObjectDataSourceParameter[] parameters)
Parameters
Object Specifies a range of parameters to add to the collection. |
ObjectDataSourceParameterCollection(ObjectDataSourceParameterCollection)
Initializes a new instance of the Object
Declaration
public ObjectDataSourceParameterCollection(ObjectDataSourceParameterCollection parameters)
Parameters
Object 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 ObjectDataSourceParameter this[string name] { get; }
Parameters
System. Specifies the name of a parameter from the collection. |
Property Value
Object 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. 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
System. Specifies the name of the new parameter to add to the collection. |
System. 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
System. Specifies the name of the new parameter to add to the collection. |
System. Specifies the data type of the new parameter to add to the collection. |
System. 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
System. 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
Object Specifies a range of parameters to add to the collection. |
Clone(ObjectDataSourceParameterCollection)
Clones the specified collection.
Declaration
public void Clone(ObjectDataSourceParameterCollection source)
Parameters
Object The source collection. |
Contains(String)
Determines if the collection contains a parameter with the specified name.
Declaration
public bool Contains(string name)
Parameters
System. Specifies the name of a parameter from the collection. |
Returns
System. 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
Object Array of parameters contained in the collection. |