Name

IDataParameterCollection

Synopsis

This collection contains all parameters and their mappings to DataSet columns used by a command and is accessed using the IDbCommand.Parameters property.

public interface IDataParameterCollection : IList, ICollection, IEnumerable {

// Public Instance Properties

   public object this{set; get; } 

// Public Instance Methods

   public bool Contains(string parameterName);  

   public int IndexOf(string parameterName);  

   public void RemoveAt(string parameterName);  

}

Implemented By

System.Data.OleDb.OleDbParameterCollection, System.Data.OracleClient.OracleParameterCollection, System.Data.SqlClient.SqlParameterCollection

Returned By

IDbCommand.Parameters

Get ADO.NET in a Nutshell now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.