.NET Framework Class Library IDataParameterCollection Interface Collects all parameters relevant to a Command object and their mappings to DataSet columns, and is implemented by .NET Framework data providers that access data sources.
Namespace:
System.Data
Assembly:
System.Data (in System.Data.dll)

Syntax
Public Interface IDataParameterCollection _
Inherits IList, ICollection, IEnumerable
public interface IDataParameterCollection : IList,
ICollection, IEnumerable
public interface class IDataParameterCollection : IList,
ICollection, IEnumerable
type IDataParameterCollection =
interface
interface IList
interface ICollection
interface IEnumerable
end
The IDataParameterCollection type exposes the following members.

Properties

Methods

Extension Methods

Remarks
The IDataParameterCollection interface allows an inheriting class to implement a Parameter collection. For more information about Parameter classes, see Configuring Parameters and Parameter Data Types (ADO.NET). An application does not create an instance of the IDataParameterCollection interface directly, but creates an instance of a class that inherits IDataParameterCollection. Classes that inherit IDataParameterCollection must implement the inherited members, and typically define additional members to add provider-specific functionality. For example, the IDataParameterCollection interface defines one implementation of the RemoveAt method. In turn, the OleDbParameterCollection class inherits this method, and defines two additional overloads of RemoveAt. Notes to ImplementersWhen you inherit from the IDataParameterCollection interface, you should implement the following constructor. Item | Description |
|---|
PrvParameterCollection() | Creates an empty PrvParameterCollection class. |

Version Information
.NET FrameworkSupported in: 4, 3.5, 3.0, 2.0, 1.1, 1.0 .NET Framework Client ProfileSupported in: 4, 3.5 SP1

Platforms
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role not supported), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

See Also
|
Biblioteca de clases de .NET Framework IDataParameterCollection (Interfaz) Recopila todos los parámetros relevantes para un objeto Command y sus asignaciones a las columnas del DataSet. La implementan los proveedores de datos de .NET Framework que tienen acceso a los orígenes de datos.
Espacio de nombres:
System.Data
Ensamblado:
System.Data (en System.Data.dll)

Sintaxis
Public Interface IDataParameterCollection _
Inherits IList, ICollection, IEnumerable
public interface IDataParameterCollection : IList,
ICollection, IEnumerable
public interface class IDataParameterCollection : IList,
ICollection, IEnumerable
type IDataParameterCollection =
interface
interface IList
interface ICollection
interface IEnumerable
end
El tipo IDataParameterCollection expone los siguientes miembros.

Propiedades

Métodos

Métodos de extensión

Comentarios
La interfaz IDataParameterCollection permite a una clase heredada implementar una colección Parameter. Para obtener más información sobre las clases Parameter, vea Configurar parámetros y tipos de datos de parámetros (ADO.NET). Una aplicación no crea una instancia de la interfaz IDataParameterCollection directamente, sino que la crea de una clase que hereda de IDataParameterCollection. Las clases que heredan de IDataParameterCollection deben implementar los miembros heredados y suelen definir miembros adicionales para agregar la funcionalidad específica de proveedor. Por ejemplo, la interfaz IDataParameterCollection define una implementación del método RemoveAt. A su vez, la clase OleDbParameterCollection hereda este método y define dos sobrecargas adicionales de RemoveAt. Notas para los implementadoresAl heredar de la interfaz IDataParameterCollection, se debe implementar el constructor siguiente. Elemento | Descripción |
|---|
PrvParameterCollection() | Crea una clase PrvParameterCollection vacía. |

Información de versión
.NET FrameworkCompatible con: 4, 3.5, 3.0, 2.0, 1.1, 1.0 .NET Framework Client ProfileCompatible con: 4, 3.5 SP1

Plataformas
Windows 7, Windows Vista SP1 o posterior, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (no se admite Server Core), Windows Server 2008 R2 (se admite Server Core con SP1 o posterior), Windows Server 2003 SP2
.NET Framework no admite todas las versiones de todas las plataformas. Para obtener una lista de las versiones compatibles, vea Requisitos de sistema de .NET Framework.

Vea también
|