This documentation is archived and is not being maintained.

DbParameterCollection.SetParameter Method

Sets the specified parameter to the specified value.

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

Protected method SetParameter(Int32, DbParameter) Sets the DbParameter object at the specified index to a new value.
Protected method SetParameter(String, DbParameter) Sets the DbParameter object with the specified name to a new value.