System.Data.SqlClient Namespace SqlParameterCollection Class
Inserts an SqlParameter at the specified index in the collection.
[ VB ]
Overloads Public Sub Insert ( _
ByVal index As Integer, _
ByVal param As Object _
)
[ C# ]
public void Insert (
int index,
Object param
);
[ C++ ]
public: void Insert (
int index,
Object* param
);
[ JScript ]
public function Insert (
index : int,
param : Object
);
- index
- The position in the collection wherein to add the SqlParameter.
- param
- The SqlParameter to add to the collection.
IList.Insert
Use the Insert method to add an SqlParameter to the collection at the index specified by the index parameter. This implementation of the method takes the Object specified by the param parameter and inserts it in the collection at the specified index.
SqlParameterCollection Members Add