Represents a base class for collection of IReportParameter objects.
Definition
Namespace:Telerik.Reporting
Assembly:Telerik.Reporting.dll
Type Parameters:
TReportParameter
Syntax:
public abstract class ReportParameterCollectionBase<TReportParameter> : Collection<TReportParameter> where TReportParameter : class, IReportParameter
Inheritance: objectCollection<TReportParameter>ReportParameterCollectionBase<TReportParameter>
Derived Classes:
Constructors
protected ReportParameterCollectionBase()
Properties
this[string]
TReportParameter
Gets a report parameter by name.
public TReportParameter this[string name] { get; }
The name of the report parameter.
Property Value:A report parameter if found; otherwise null (Nothing)
Methods
Adds an enumerable of ReportParameter objects to the ReportParameterCollection.
public void AddRange(IEnumerable<TReportParameter> enumerable)
An enumerable of ReportParameter objects to add to the ReportParameterCollection.
The ReportParameter objects returned from the enumerable are appended to the end of the ReportParameterCollection.
Determines whether the ReportParameterCollection contains a report parameter with a specific name.
public bool Contains(string name)
A string that specifies the parameter name for which to search the elements of the ReportParameterCollection.
Returns:bool
Returns a bool value indicating whether the ReportParameterCollection object contains a report parameter with the specified name.
Determines the index of a specific report parameter in the ReportParameterCollection.
public int IndexOf(string name)
The parameter name used to locate the report parameter in the ReportParameterCollection.
Returns:int
The index of report parameter if found in the ReportParameterCollection; otherwise, -1.