Compartilhar via


GlobalObjectCollection.CopyTo(GlobalObject[], Int32) Method

Definition

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

public:
 void CopyTo(cli::array <Microsoft::VisualStudio::Shell::Design::GlobalObject ^> ^ array, int index);
public void CopyTo (Microsoft.VisualStudio.Shell.Design.GlobalObject[] array, int index);
member this.CopyTo : Microsoft.VisualStudio.Shell.Design.GlobalObject[] * int -> unit
Public Sub CopyTo (array As GlobalObject(), index As Integer)

Parameters

array
GlobalObject[]

A destination for copied objects.

index
Int32

The position in the collection at which to begin copying.

Applies to