DataConnectionManager.CopyTo Method

Copies the set of currently managed data connections to an array, starting at the specified array index.

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

Syntax

'宣言
Public Sub CopyTo ( _
    array As DataConnection(), _
    arrayIndex As Integer _
)
'使用
Dim instance As DataConnectionManager
Dim array As DataConnection()
Dim arrayIndex As Integer

instance.CopyTo(array, arrayIndex)
public void CopyTo(
    DataConnection[] array,
    int arrayIndex
)
public:
virtual void CopyTo(
    array<DataConnection^>^ array, 
    int arrayIndex
) sealed
public final function CopyTo(
    array : DataConnection[], 
    arrayIndex : int
)

Parameters

  • array
    Type: []

    An array into which the data connections should be copied.

  • arrayIndex
    Type: System.Int32

    The index in the array at which copying should begin.

Implements

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

Permissions

See Also

Reference

DataConnectionManager Class

DataConnectionManager Members

Microsoft.VisualStudio.Data Namespace