Npgsql API Documentation |

# NpgsqlParameterCollection.CopyTo Method

[This is preliminary documentation and subject to change.]

Copies NpgsqlParameter objects from the NpgsqlParameterCollection to the specified array.

[Visual Basic]
NotOverridable Public Sub CopyTo( _
ByVal array As Array, _
ByVal index As Integer _
) Implements _
ICollection.CopyTo
[C#]
public void CopyTo(
Array array,
int index
);

#### Parameters

array
  An Array to which to copy the NpgsqlParameter objects in the collection.
index
  The starting index of the array.

#### Implements

ICollection.CopyTo

#### See Also

NpgsqlParameterCollection Class | Npgsql Namespace