SqlParameterCollection.AddRange Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds elements to the end of the SqlParameterCollection.
Overloads
AddRange(Array) |
Adds an array of values to the end of the SqlParameterCollection. |
AddRange(SqlParameter[]) |
Adds an array of SqlParameter values to the end of the SqlParameterCollection. |
AddRange(Array)
Adds an array of values to the end of the SqlParameterCollection.
public:
override void AddRange(Array ^ values);
public override void AddRange (Array values);
override this.AddRange : Array -> unit
Public Overrides Sub AddRange (values As Array)
Parameters
See also
- Commands and Parameters (ADO.NET)
- DataAdapter Parameters (ADO.NET)
- Using the .NET Framework Data Provider for SQL Server
- ADO.NET Overview
Applies to
AddRange(SqlParameter[])
Adds an array of SqlParameter values to the end of the SqlParameterCollection.
public:
void AddRange(cli::array <System::Data::SqlClient::SqlParameter ^> ^ values);
public void AddRange (System.Data.SqlClient.SqlParameter[] values);
override this.AddRange : System.Data.SqlClient.SqlParameter[] -> unit
Public Sub AddRange (values As SqlParameter())
Parameters
- values
- SqlParameter[]
The SqlParameter values to add.
See also
- Commands and Parameters (ADO.NET)
- DataAdapter Parameters (ADO.NET)
- Using the .NET Framework Data Provider for SQL Server
- ADO.NET Overview