DataSourceDescriptorCollection.CopyTo(DataSourceDescriptor[], Int32) Method

Definition

Copies the DataSourceDescriptorCollection values to a one-dimensional Array at the specified index.

public:
 void CopyTo(cli::array <System::ComponentModel::Design::Data::DataSourceDescriptor ^> ^ array, int index);
public void CopyTo (System.ComponentModel.Design.Data.DataSourceDescriptor[] array, int index);
member this.CopyTo : System.ComponentModel.Design.Data.DataSourceDescriptor[] * int -> unit
Public Sub CopyTo (array As DataSourceDescriptor(), index As Integer)

Parameters

array
DataSourceDescriptor[]

The one-dimensional Array that is the destination of the values copied from the DataSourceDescriptorCollection.

index
Int32

The index in the array where copying begins.

Applies to