SetParameter Method (String, DbParameter)
Collapse the table of content
Expand the table of content

DbParameterCollection::SetParameter Method (String^, DbParameter^)

 

Sets the DbParameter object with the specified name to a new value.

Namespace:   System.Data.Common
Assembly:  System.Data (in System.Data.dll)

protected:
virtual void SetParameter(
	String^ parameterName,
	DbParameter^ value
) abstract

Parameters

parameterName
Type: System::String^

The name of the DbParameter object in the collection.

value
Type: System.Data.Common::DbParameter^

The new DbParameter value.

Universal Windows Platform
Available since 10
.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft