ReportParameterCollection ReportParameterCollection ReportParameterCollection Class

Definition

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

public ref class ReportParameterCollection sealed : System::Collections::IList
[System.Runtime.InteropServices.Guid("EE87FC61-B507-4499-8DAF-F21EDA680E6C")]
public sealed class ReportParameterCollection : System.Collections.IList
Public NotInheritable Class ReportParameterCollection
Implements IList
Inheritance
ReportParameterCollectionReportParameterCollectionReportParameterCollection
Attributes
Implements

Constructors

ReportParameterCollection() ReportParameterCollection() ReportParameterCollection()

Initializes a new instance of ReportParameterCollection class.

Properties

Count Count Count

Gets the number of ReportParameter objects in the collection.

Item[String] Item[String] Item[String]

Gets the ReportParameter that has the specified name from the collection.

Item[Int32] Item[Int32] Item[Int32]

Gets the ReportParameter at the specified index from the collection.

Methods

Add(ReportParameter) Add(ReportParameter) Add(ReportParameter)

Adds a ReportParameter to the end of the collection.

Add(String, String) Add(String, String) Add(String, String)

Creates and adds a ReportParameter, with the specified name and value, to the end of the collection.

Clear() Clear() Clear()

Removes all elements from the collection.

Contains(ReportParameter) Contains(ReportParameter) Contains(ReportParameter)

Indicates whether the collection contains a specified ReportParameter.

Contains(String) Contains(String) Contains(String)

Indicates whether the collection contains a ReportParameter that has the specified name.

CopyTo(ReportParameterCollection) CopyTo(ReportParameterCollection) CopyTo(ReportParameterCollection)

Copies the entire collection to the end of a ReportParameterCollection.

CopyTo(Array, Int32) CopyTo(Array, Int32) CopyTo(Array, Int32)

Copies the entire collection to a compatible one-dimensional Array, starting at the specified index of the target array.

Find(String) Find(String) Find(String)

Gets the ReportParameter that has the specified name from the collection.

IndexOf(ReportParameter) IndexOf(ReportParameter) IndexOf(ReportParameter)

Gets the index of a specified ReportParameter.

IndexOf(String) IndexOf(String) IndexOf(String)

Gets the index of a ReportParameter that has the specified name.

Insert(Int32, ReportParameter) Insert(Int32, ReportParameter) Insert(Int32, ReportParameter)

Inserts a ReportParameter into the collection at the specified index.

Insert(Int32, String, String) Insert(Int32, String, String) Insert(Int32, String, String)

Creates and inserts a ReportParameter, with the specified name and value, into the collection at the specified index.

Remove(ReportParameter) Remove(ReportParameter) Remove(ReportParameter)

Removes the specified ReportParameter from the collection.

Remove(String) Remove(String) Remove(String)

Removes the ReportParameter with the specified name from the collection.

RemoveAt(Int32) RemoveAt(Int32) RemoveAt(Int32)

Removes the ReportParameter at the specified index from the collection.

Explicit Interface Implementations

ICollection.IsSynchronized ICollection.IsSynchronized ICollection.IsSynchronized

Gets a value that indicates whether access to the ReportParameterCollection is synchronized.

ICollection.SyncRoot ICollection.SyncRoot ICollection.SyncRoot

Gets an object that can be used to synchronize access to the ReportParameterCollection.

IEnumerable.GetEnumerator() IEnumerable.GetEnumerator() IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IList.Add(Object) IList.Add(Object) IList.Add(Object)

Adds an item to the collection.

IList.Contains(Object) IList.Contains(Object) IList.Contains(Object)

Indicates whether the collection contains a specific value.

IList.IndexOf(Object) IList.IndexOf(Object) IList.IndexOf(Object)

Determines the index of a specific item in the collection.

IList.Insert(Int32, Object) IList.Insert(Int32, Object) IList.Insert(Int32, Object)

Inserts an item to the collection at the specified index.

IList.IsFixedSize IList.IsFixedSize IList.IsFixedSize

Gets a value that indicates whether the collection has a fixed size.

IList.IsReadOnly IList.IsReadOnly IList.IsReadOnly

Gets a value that indicates whether this ReportParameterCollection is read-only.

IList.Item[Int32] IList.Item[Int32] IList.Item[Int32]

Gets or sets the element at the specified index.

IList.Remove(Object) IList.Remove(Object) IList.Remove(Object)

Removes the first occurrence of a specified object from the collection.

Applies to