CheckCollection.CopyTo(Check[], Int32) CheckCollection.CopyTo(Check[], Int32) CheckCollection.CopyTo(Check[], Int32) Method

Definition

Copies the collection of objects to a one-dimensional array beginning at the index value specified.

public:
 void CopyTo(cli::array <Microsoft::SqlServer::Management::Smo::Check ^> ^ array, int index);
public void CopyTo (Microsoft.SqlServer.Management.Smo.Check[] array, int index);
Public Sub CopyTo (array As Check(), index As Integer)
Parameters
array
Check[]

An array of Check objects.

index
Int32 Int32 Int32

An Int32 value that specifies the index value in the collection to start copying.

Examples

Using Collections

Applies to