Share via


ReportParameterCollection Class

A collection of ReportParameter objects. This class cannot be inherited.

Inheritance Hierarchy

System.Object
  System.Collections.Specialized.NameObjectCollectionBase
    Microsoft.ReportingServices.ReportRendering.ReportParameterCollection

Namespace:  Microsoft.ReportingServices.ReportRendering
Assembly:  Microsoft.ReportingServices.ProcessingCore (in Microsoft.ReportingServices.ProcessingCore.dll)

Syntax

'Declaration
Public NotInheritable Class ReportParameterCollection _
    Inherits NameObjectCollectionBase
'Usage
Dim instance As ReportParameterCollection
public sealed class ReportParameterCollection : NameObjectCollectionBase
public ref class ReportParameterCollection sealed : public NameObjectCollectionBase
[<SealedAttribute>]
type ReportParameterCollection =  
    class 
        inherit NameObjectCollectionBase 
    end
public final class ReportParameterCollection extends NameObjectCollectionBase

The ReportParameterCollection type exposes the following members.

Properties

  Name Description
Public property AsNameValueCollection Contains report parameters as a sorted collection of associated string keys and string values, which can be accessed using either the key or the index.
Public property Count (Inherited from NameObjectCollectionBase.)
Public property IsValid Indicates whether all of the report parameters have been correctly specified.
Public property Item[Int32] Gets the parameter located in the collection at the position indicated by the index. In C#, this property is the indexer for the ReportParameterCollection class.
Public property Item[String] Gets the report parameter from the collection. The parameter retrieved is the parameter from the collection that matches the name specified in the name parameter. In C#, this property is the indexer for the ReportParameterCollection class.
Public property Keys (Inherited from NameObjectCollectionBase.)

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Public method GetEnumerator (Inherited from NameObjectCollectionBase.)
Public method GetHashCode (Inherited from Object.)
Public method GetObjectData (Inherited from NameObjectCollectionBase.)
Public method GetType (Inherited from Object.)
Public method OnDeserialization (Inherited from NameObjectCollectionBase.)
Public method ToString (Inherited from Object.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method ICollection.CopyTo (Inherited from NameObjectCollectionBase.)
Explicit interface implemetationPrivate property ICollection.IsSynchronized (Inherited from NameObjectCollectionBase.)
Explicit interface implemetationPrivate property ICollection.SyncRoot (Inherited from NameObjectCollectionBase.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.ReportingServices.ReportRendering Namespace