• Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop
    Web
    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for ASP.NET AJAX UI for ASP.NET MVC UI for ASP.NET Core UI for Blazor UI for Silverlight UI for PHP UI for JSP
    Mobile
    UI for .NET MAUI UI for Xamarin
    Document Management
    Telerik Document Processing
    Desktop
    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF UI for UWP
    Reporting & Mocking
    Telerik Reporting Telerik Report Server Telerik JustMock
    Automated Testing
    Test Studio Test Studio Dev Edition
    CMS
    Sitefinity
    UI/UX Design
    Unite UX
    Debugging
    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Jam FiddlerCap FiddlerCore
    Extended Reality
    UI for Unity XR
    Free Tools
    JustAssembly JustDecompile VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Docs & Support
  • Pricing
  • Search
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class ParameterCollection

Represents a collection of Parameter objects.

Inheritance
System.Object
System.Collections.ObjectModel.Collection<Parameter>
ParameterCollection
Inherited Members
System.Collections.ObjectModel.Collection<Telerik.Reporting.Parameter>.Add(Telerik.Reporting.Parameter)
System.Collections.ObjectModel.Collection<Telerik.Reporting.Parameter>.Clear()
System.Collections.ObjectModel.Collection<Telerik.Reporting.Parameter>.CopyTo(Telerik.Reporting.Parameter[], System.Int32)
System.Collections.ObjectModel.Collection<Telerik.Reporting.Parameter>.Contains(Telerik.Reporting.Parameter)
System.Collections.ObjectModel.Collection<Telerik.Reporting.Parameter>.GetEnumerator()
System.Collections.ObjectModel.Collection<Telerik.Reporting.Parameter>.IndexOf(Telerik.Reporting.Parameter)
System.Collections.ObjectModel.Collection<Telerik.Reporting.Parameter>.Insert(System.Int32, Telerik.Reporting.Parameter)
System.Collections.ObjectModel.Collection<Telerik.Reporting.Parameter>.Remove(Telerik.Reporting.Parameter)
System.Collections.ObjectModel.Collection<Telerik.Reporting.Parameter>.RemoveAt(System.Int32)
System.Collections.ObjectModel.Collection<Telerik.Reporting.Parameter>.ClearItems()
System.Collections.ObjectModel.Collection<Telerik.Reporting.Parameter>.RemoveItem(System.Int32)
System.Collections.ObjectModel.Collection<Telerik.Reporting.Parameter>.System.Collections.IEnumerable.GetEnumerator()
System.Collections.ObjectModel.Collection<Telerik.Reporting.Parameter>.System.Collections.ICollection.CopyTo(System.Array, System.Int32)
System.Collections.ObjectModel.Collection<Telerik.Reporting.Parameter>.System.Collections.IList.get_Item(System.Int32)
System.Collections.ObjectModel.Collection<Telerik.Reporting.Parameter>.System.Collections.IList.set_Item(System.Int32, System.Object)
System.Collections.ObjectModel.Collection<Telerik.Reporting.Parameter>.System.Collections.IList.Add(System.Object)
System.Collections.ObjectModel.Collection<Telerik.Reporting.Parameter>.System.Collections.IList.Contains(System.Object)
System.Collections.ObjectModel.Collection<Telerik.Reporting.Parameter>.System.Collections.IList.IndexOf(System.Object)
System.Collections.ObjectModel.Collection<Telerik.Reporting.Parameter>.System.Collections.IList.Insert(System.Int32, System.Object)
System.Collections.ObjectModel.Collection<Telerik.Reporting.Parameter>.System.Collections.IList.Remove(System.Object)
System.Collections.ObjectModel.Collection<Telerik.Reporting.Parameter>.Count
System.Collections.ObjectModel.Collection<Telerik.Reporting.Parameter>.Items
System.Collections.ObjectModel.Collection<Telerik.Reporting.Parameter>.Item[System.Int32]
System.Collections.ObjectModel.Collection<Telerik.Reporting.Parameter>.System.Collections.Generic.ICollection<Telerik.Reporting.Parameter>.IsReadOnly
System.Collections.ObjectModel.Collection<Telerik.Reporting.Parameter>.System.Collections.ICollection.IsSynchronized
System.Collections.ObjectModel.Collection<Telerik.Reporting.Parameter>.System.Collections.ICollection.SyncRoot
System.Collections.ObjectModel.Collection<Telerik.Reporting.Parameter>.System.Collections.IList.Item[System.Int32]
System.Collections.ObjectModel.Collection<Telerik.Reporting.Parameter>.System.Collections.IList.IsReadOnly
System.Collections.ObjectModel.Collection<Telerik.Reporting.Parameter>.System.Collections.IList.IsFixedSize
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.Reporting
Assembly: Telerik.Reporting.dll

Syntax

public class ParameterCollection : Collection<Parameter>, IList<Parameter>, ICollection<Parameter>, IList, ICollection, IReadOnlyList<Parameter>, IReadOnlyCollection<Parameter>, IEnumerable<Parameter>, IEnumerable, IEquatable<ParameterCollection>, ICloneable
Remarks

The collection does not allow adding two parameters with matching names.

Constructors

ParameterCollection()

Declaration
public ParameterCollection()

Properties

Item[String]

Gets a Parameter by name.

Declaration
public Parameter this[string name] { get; }
Parameters
System.String name

The name of the parameter.

Property Value
Parameter

A parameter if found; otherwise null (Nothing)

Methods

Add(String, Object)

Creates a Parameter with specific settings and adds it to the ParameterCollection or updates an existing one.

Declaration
public void Add(string name, object value)
Parameters
System.String name

A System.String value that will be used as Name for the newly created Parameter.

System.Object value

A System.Object value that will be used as Value for the newly created Parameter. Can be an expression.

AddRange(IEnumerable<Parameter>)

Adds/updates an enumerable of Parameter objects to/in the ParameterCollection.

Declaration
public void AddRange(IEnumerable<Parameter> collection)
Parameters
System.Collections.Generic.IEnumerable<Parameter> collection

Remarks

The Parameter objects returned from the enumerable are appended to the end of the ParameterCollection or updated in place.

Contains(String)

Determines whether the ParameterCollection contains a parameter with a specific name.

Declaration
public bool Contains(string name)
Parameters
System.String name

A System.String that specifies the parameter name for which to search the elements of the ParameterCollection.

Returns
System.Boolean

Returns a System.Boolean value indicating whether the ParameterCollection object contains a parameter with the specified name.

Equals(Object)

Declaration
public override bool Equals(object obj)
Parameters
System.Object obj

Returns
System.Boolean

Overrides
System.Object.Equals(System.Object)

Equals(ParameterCollection)

Declaration
public bool Equals(ParameterCollection other)
Parameters
ParameterCollection other

Returns
System.Boolean

Implements
System.IEquatable<T>.Equals(T)

GetHashCode()

Declaration
public override int GetHashCode()
Returns
System.Int32

Overrides
System.Object.GetHashCode()

IndexOf(String)

Determines the index of a specific parameter in the ParameterCollection.

Declaration
public int IndexOf(string name)
Parameters
System.String name

The parameter name used to locate the parameter in the ParameterCollection.

Returns
System.Int32

The index of parameter if found in the ParameterCollection; otherwise, -1.

InsertItem(Int32, Parameter)

Declaration
protected override void InsertItem(int index, Parameter item)
Parameters
System.Int32 index

Parameter item

Overrides
System.Collections.ObjectModel.Collection<Telerik.Reporting.Parameter>.InsertItem(System.Int32, Telerik.Reporting.Parameter)

SetItem(Int32, Parameter)

Declaration
protected override void SetItem(int index, Parameter item)
Parameters
System.Int32 index

Parameter item

Overrides
System.Collections.ObjectModel.Collection<Telerik.Reporting.Parameter>.SetItem(System.Int32, Telerik.Reporting.Parameter)

ToString()

Declaration
public override string ToString()
Returns
System.String

Overrides
System.Object.ToString()

Explicit Interface Implementations

ICloneable.Clone()

Declaration
object ICloneable.Clone()
Returns
System.Object

Implements
System.ICloneable.Clone()

Was this article helpful?

Tell us how we can improve this article

Skip
Getting Started
  • Install Now
  • Online Demos
Support Resources
  • Documentation
  • Knowledge Base
  • Videos
  • Reporting Samples Repository
  • Reporting Release History
Community
  • Forums
  • Blogs
  • Reporting Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.