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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.