Class
ReportParameterCollectionBase<TReportParameter>

Represents a base class for collection of IReportParameter objects.

Definition

Namespace:Telerik.Reporting

Assembly:Telerik.Reporting.dll

Type Parameters:

TReportParameter

Syntax:

cs-api-definition
public abstract class ReportParameterCollectionBase<TReportParameter> : Collection<TReportParameter> where TReportParameter : class, IReportParameter

Inheritance: objectCollection<TReportParameter>ReportParameterCollectionBase<TReportParameter>

Derived Classes: ReportParameterCollection

Constructors

ReportParameterCollectionBase()

Declaration

cs-api-definition
protected ReportParameterCollectionBase()

Properties

this[string]

Gets a report parameter by name.

Declaration

cs-api-definition
public TReportParameter this[string name] { get; }

Parameters

name

string

The name of the report parameter.

Property Value

TReportParameter

A report parameter if found; otherwise null (Nothing)

Methods

AddRange(IEnumerable<TReportParameter>)

Adds an enumerable of ReportParameter objects to the ReportParameterCollection.

Declaration

cs-api-definition
public void AddRange(IEnumerable<TReportParameter> enumerable)

Parameters

enumerable

IEnumerable<TReportParameter>

An enumerable of ReportParameter objects to add to the ReportParameterCollection.

Remarks

The ReportParameter objects returned from the enumerable are appended to the end of the ReportParameterCollection.

Contains(string)

Determines whether the ReportParameterCollection contains a report parameter with a specific name.

Declaration

cs-api-definition
public bool Contains(string name)

Parameters

name

string

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.

IndexOf(string)

Determines the index of a specific report parameter in the ReportParameterCollection.

Declaration

cs-api-definition
public int IndexOf(string name)

Parameters

name

string

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.