New to Telerik ReportingStart a free 30-day trial

Represents a collection of ReportParameter objects.

Definition

Namespace:Telerik.Reporting

Assembly:Telerik.Reporting.dll

Syntax:

C#
[TypeConverter("Telerik.Reporting.Design.ReportParameterCollectionConverter, Telerik.Reporting.Design, Version=20.1.26.615, Culture=neutral, PublicKeyToken=a9d7983dfcc261be")]
public class ReportParameterCollection : ReportParameterCollectionBase<ReportParameter>

Inheritance: objectCollection<ReportParameter>ReportParameterCollectionBase<ReportParameter>ReportParameterCollection

Inherited Members ReportParameterCollectionBase<ReportParameter>.AddRange(IEnumerable<ReportParameter>)ReportParameterCollectionBase<ReportParameter>.Contains(string)ReportParameterCollectionBase<ReportParameter>.IndexOf(string)ReportParameterCollectionBase<ReportParameter>.this[string]

Constructors

C#
public ReportParameterCollection()

Methods

Creates a ReportParameter with specific settings and adds it to the ReportParameterCollection.

C#
public ReportParameter Add(string name, ReportParameterType parameterType, object value)
Parameters:namestring

A string value that will be used as Name for the newly created ReportParameter.

parameterTypeReportParameterType

A ReportParameterType value that will be used as Type for the newly created ReportParameter.

valueobject

A object value that will be used as Value for the newly created ReportParameter. May be expression.

Returns:

ReportParameter

The newly created and added ReportParameter

TODO: Add documentation.

C#
protected override void ClearItems()

Overrides: Collection<ReportParameter>.ClearItems()

Inserts an item to the ReportParameterCollectionBase<TReportParameter> at the specified index.

C#
protected override void InsertItem(int index, ReportParameter item)
Parameters:indexint

The zero-based index at which item should be inserted.

itemReportParameter

The ReportParameter to insert into the ReportParameterCollectionBase<TReportParameter>.

Overrides: Collection<ReportParameter>.InsertItem(int, ReportParameter)

TODO: Add documentation.

C#
protected override void RemoveItem(int index)
Parameters:indexint

Overrides: Collection<ReportParameter>.RemoveItem(int)