Bagikan melalui


ReportParameterCollection Class

Definition

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

public ref class ReportParameterCollection sealed : System::Collections::Specialized::NameObjectCollectionBase
public sealed class ReportParameterCollection : System.Collections.Specialized.NameObjectCollectionBase
type ReportParameterCollection = class
    inherit NameObjectCollectionBase
Public NotInheritable Class ReportParameterCollection
Inherits NameObjectCollectionBase
Inheritance
ReportParameterCollection

Properties

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.

IsValid

Indicates whether all of the report parameters have been correctly specified.

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.

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.

Applies to