SelectedShapesCollection::CopyTo Method (array<DiagramItem^>^, Int32)

 

Copies the DiagramItems of the selection to a DiagramItem[] array, starting at a particular Array index.

Namespace:   Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

public:
void CopyTo(
	array<DiagramItem^>^ array,
	int index
)

Parameters

array
Type: array<Microsoft.VisualStudio.Modeling.Diagrams::DiagramItem^>^

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

index
Type: System::Int32

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

Return to top
Show: