SqlParameterCollection.CopyTo Method (SqlParameter[], Int32)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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(
	SqlParameter[] array,
	int index
)

Parameters

array
Type: 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: