Share via


TaskProvider.TaskCollection.ICollection.CopyTo Method

Copies the collection to an array, starting at the specified index.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

'Declaration
Private Sub CopyTo ( _
    array As Array, _
    index As Integer _
) Implements ICollection.CopyTo
void ICollection.CopyTo(
    Array array,
    int index
)
private:
virtual void CopyTo(
    Array^ array, 
    int index
) sealed = ICollection::CopyTo
private abstract CopyTo : 
        array:Array * 
        index:int -> unit 
private override CopyTo : 
        array:Array * 
        index:int -> unit 
JScript does not support explicit interface implementations.

Parameters

  • array
    Type: System.Array
    The array to which to copy the collection.
  • index
    Type: System.Int32
    The index of the array at which to start the copy.

Implements

ICollection.CopyTo(Array, Int32)

.NET Framework Security

See Also

Reference

TaskProvider.TaskCollection Class

Microsoft.VisualStudio.Shell Namespace