DiagramItemCollection.CopyTo(DiagramItem[], Int32) Method

Definition

Copies the DiagramItems of the selection to an Array, starting at a particular Array index.

public:
 virtual void CopyTo(cli::array <Microsoft::VisualStudio::Modeling::Diagrams::DiagramItem ^> ^ array, int index);
public virtual void CopyTo (Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem[] array, int index);
abstract member CopyTo : Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem[] * int -> unit
override this.CopyTo : Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem[] * int -> unit
Public Overridable Sub CopyTo (array As DiagramItem(), index As Integer)

Parameters

array
DiagramItem[]

The one-dimensional Array that is the destination of the DiagramItems copied from the selection. The Array must have zero-based indexing.

index
Int32

The zero-based index in array at which copying begins.

Applies to