Share via


GlobalTypeCollection.ICollection.CopyTo Method

Copies objects to the specified array starting at the specified position.

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
‘사용 방법
Dim instance As GlobalTypeCollection
Dim array As Array
Dim index As Integer

CType(instance, ICollection).CopyTo(array, _
    index)
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

  • index
    Type: System.Int32
    The position in the array at which to start copying.

Implements

ICollection.CopyTo(Array, Int32)

.NET Framework Security

See Also

Reference

GlobalTypeCollection Class

GlobalTypeCollection Members

Microsoft.VisualStudio.Shell.Design Namespace