Share via


Switcher.ListViewCollection.CopyTo Method

Copies the elements of the collection to an array, starting at a particular array index.

Namespace:  Microsoft.SqlServer.Management.Controls
Assembly:  Microsoft.SqlServer.Management.Controls (in Microsoft.SqlServer.Management.Controls.dll)

Syntax

'Declaration
Public Sub CopyTo ( _
    array As IView(), _
    arrayIndex As Integer _
)
'Usage
Dim instance As Switcher..::..ListViewCollection
Dim array As IView()
Dim arrayIndex As Integer

instance.CopyTo(array, arrayIndex)
public void CopyTo(
    IView[] array,
    int arrayIndex
)
public:
virtual void CopyTo(
    array<IView^>^ array, 
    int arrayIndex
) sealed
abstract CopyTo : 
        array:IView[] * 
        arrayIndex:int -> unit 
override CopyTo : 
        array:IView[] * 
        arrayIndex:int -> unit 
public final function CopyTo(
    array : IView[], 
    arrayIndex : int
)

Parameters

  • arrayIndex
    Type: System.Int32
    The zero-based index in array at which copying begins.

Implements

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