共用方式為


IDataParameterCollection Interface

Represents a collection of all parameters relevant to a Command object.

命名空間: Microsoft.ReportingServices.DataProcessing
組件: Microsoft.ReportingServices.Interfaces (in microsoft.reportingservices.interfaces.dll)

語法

'宣告
Public Interface IDataParameterCollection
    Inherits IEnumerable
public interface IDataParameterCollection : IEnumerable
public interface class IDataParameterCollection : IEnumerable
public interface IDataParameterCollection extends IEnumerable
public interface IDataParameterCollection extends IEnumerable

備註

The IDataParameterCollection interface enables you to implement a parameter collection.

An application does not create an instance of the IDataParameterCollection interface directly, but creates an instance of a class that implements IDataParameterCollection.

Classes that implement IDataParameterCollection must implement the required members, and typically define additional members to add provider-specific functionality.

The SQL Server Reporting Services IDataParameterCollection interface inherits from IEnumerable and requires that you implement an Add method. IEnumerable also requires that you implement a GetEnumerator method. Because IDataParameterCollection is a type of IList, you can use an existing class for most of the implementation. For example, if your DataParameter class inherits ArrayList, you can use the default implementation of the ArrayList.GetEnumerator method.

Note to Implementers: When you implement the IDataParameterCollection interface, you should implement the following constructor:

Class

Description

PrvParameterCollection()

Initializes a new instance of the PrvDataParameterCollection class.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

IDataParameterCollection Members
Microsoft.ReportingServices.DataProcessing Namespace