SqlParameterCollection::CopyTo Method (array<SqlParameter^>^, Int32)

 

Copies all the elements of the current SqlParameterCollection to the specified SqlParameterCollection starting at the specified destination index.

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

public:
void CopyTo(
	array<SqlParameter^>^ array,
	int index
)

Parameters

array
Type: array<System.Data.SqlClient::SqlParameter^>^

The SqlParameterCollection that is the destination of the elements copied from the current SqlParameterCollection.

index
Type: System::Int32

A 32-bit integer that represents the index in the SqlParameterCollection at which copying starts.

.NET Framework
Available since 2.0
Return to top
Show: