SqlParameterCollection::Add Method (Object^)

 

Adds the specified SqlParameter object to the SqlParameterCollection.

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

public:
virtual int Add(
	Object^ value
) override

Parameters

value
Type: System::Object^

An Object.

Return Value

Type: System::Int32

The index of the new SqlParameter object.

.NET Framework
Available since 1.1
Return to top
Show: