共用方式為


GlobalObjectCollection.ICollection.CopyTo Method

Copies the contents of this collection to the given array starting at the given index.

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

Syntax

'宣告
Private Sub CopyTo ( _
    array As Array, _
    index As Integer _
) Implements ICollection.CopyTo
void ICollection.CopyTo(
    Array array,
    int index
)

Parameters

  • array
    Type: System.Array
    The destination for the copied items.
  • index
    Type: System.Int32
    The position in the array at which to begin copying.

Implements

ICollection.CopyTo(Array, Int32)

.NET Framework Security

See Also

Reference

GlobalObjectCollection Class

Microsoft.VisualStudio.Shell.Design Namespace