Npgsql Api Docs |

# NpgsqlParameterCollection.CopyTo Method (Array, Int32)

Copies NpgsqlParameter objects from the NpgsqlParameterCollection to the specified array.

[Visual Basic]
Overrides Overloads Public Sub CopyTo( _
ByVal array As Array, _
ByVal index As Integer _
) _
Implements ICollection.CopyTo
[C#]
public override 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 | NpgsqlParameterCollection.CopyTo Overload List