Compartilhar via


ReportParameterCollection Class

Definition

Represents a collection of ReportParameter objects. This class cannot be inherited.

[System.Runtime.InteropServices.Guid("EE87FC61-B507-4499-8DAF-F21EDA680E6C")]
public sealed class ReportParameterCollection : System.Collections.IList
[<System.Runtime.InteropServices.Guid("EE87FC61-B507-4499-8DAF-F21EDA680E6C")>]
type ReportParameterCollection = class
    interface IList
    interface ICollection
    interface IEnumerable
Public NotInheritable Class ReportParameterCollection
Implements IList
Inheritance
ReportParameterCollection
Attributes
Implements

Constructors

ReportParameterCollection()

Properties

Count

Gets the number of elements contained in the collection.

Item[Int32]

Gets the ReportParameter element at the specified index.

Item[String]

Gets the ReportParameter element with the specified name.

Methods

Add(ReportParameter)

Adds the specified ReportParameter to the end of the collection.

Add(String, String)

Creates a new ReportParameter object using the name and value provided, adds it to the collection and returns the new ReportParameter object created.

Clear()

Removes all items from the collection.

Contains(ReportParameter)

Determines whether the specified ReportParameter exists in the collection.

Contains(String)

Determines whether a ReportParameter with the specified Name exists in the collection.

CopyTo(Array, Int32)

Copies the elements of the collection to an Array, starting at a particular Array index.

CopyTo(ReportParameterCollection)

Copies the elements from this collection to another.

Find(String)

Searches for the ReportParameter with the specified Name and returns it.

IndexOf(ReportParameter)

Searches for the specified ReportParameter and returns its zero-based index within the collection.

IndexOf(String)

Searches for the specified ReportParameter with the specified Name and returns its zero-based index within the collection.

Insert(Int32, ReportParameter)

Inserts the specified ReportParameter to the collection at the specified index.

Insert(Int32, String, String)

Creates a new ReportParameter object using the name and value provided, inserts it to the collection at the specified index, and returns the new ReportParameter object created.

Remove(ReportParameter)

Removes the specified ReportParameter from this collection.

Remove(String)

Removes the ReportParameter with the specified Name from this collection.

RemoveAt(Int32)

Removes the ReportParameter at the specified index.

Explicit Interface Implementations

ICollection.IsSynchronized
ICollection.SyncRoot
IEnumerable.GetEnumerator()
IList.Add(Object)
IList.Contains(Object)
IList.IndexOf(Object)
IList.Insert(Int32, Object)
IList.IsFixedSize
IList.IsReadOnly
IList.Item[Int32]
IList.Remove(Object)

Applies to