Partager via


DataSourceManager.CopyTo Method

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

Namespace:  Microsoft.VisualStudio.Data
Assembly:  Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)

Syntax

'Déclaration
Public Sub CopyTo ( _
    array As DataSource(), _
    arrayIndex As Integer _
)
public void CopyTo(
    DataSource[] array,
    int arrayIndex
)
public:
virtual void CopyTo(
    array<DataSource^>^ array, 
    int arrayIndex
) sealed
abstract CopyTo : 
        array:DataSource[] * 
        arrayIndex:int -> unit 
override CopyTo : 
        array:DataSource[] * 
        arrayIndex:int -> unit 
public final function CopyTo(
    array : DataSource[], 
    arrayIndex : int
)

Parameters

  • arrayIndex
    Type: System.Int32
    The index in the array at which copying begins.

Implements

ICollection<T>.CopyTo(array<T[], Int32)

.NET Framework Security

See Also

Reference

DataSourceManager Class

Microsoft.VisualStudio.Data Namespace