This documentation is archived and is not being maintained.

SqlParameterCollection.Add Method

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method Supported by the .NET Compact Framework Add(SqlParameter) Adds the specified SqlParameter object to the SqlParameterCollection.
Public method Supported by the .NET Compact Framework Add(Object) Adds the specified SqlParameter object to the SqlParameterCollection. (Overrides DbParameterCollection.Add(Object).)
Public method Supported by the .NET Compact Framework Add(String, SqlDbType) Adds a SqlParameter to the SqlParameterCollection given the parameter name and the data type.
Public method Supported by the .NET Compact Framework Add(String, Object) Obsolete. Adds the specified SqlParameter object to the SqlParameterCollection.
Public method Supported by the .NET Compact Framework Add(String, SqlDbType, Int32) Adds a SqlParameter to the SqlParameterCollection, given the specified parameter name, SqlDbType and size.
Public method Supported by the .NET Compact Framework Add(String, SqlDbType, Int32, String) Adds a SqlParameter to the SqlParameterCollection with the parameter name, the data type, and the column length.
Top
Show: