Condividi tramite


DataSourceManager.CopyTo(DataSource[], Int32) Method

Definition

Copies the set of registered data sources to an array, starting at the specified array index.

public:
 virtual void CopyTo(cli::array <Microsoft::VisualStudio::Data::DataSource ^> ^ array, int arrayIndex);
public void CopyTo (Microsoft.VisualStudio.Data.DataSource[] array, int arrayIndex);
abstract member CopyTo : Microsoft.VisualStudio.Data.DataSource[] * int -> unit
override this.CopyTo : Microsoft.VisualStudio.Data.DataSource[] * int -> unit
Public Sub CopyTo (array As DataSource(), arrayIndex As Integer)

Parameters

array
DataSource[]

An array into which the set of data sources should be copied.

arrayIndex
Int32

The index in the array at which copying begins.

Implements

Applies to