Partilhar via


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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'Declaração
Public Sub CopyTo ( _
    array As DiagramItem(), _
    index As Integer _
)
public void CopyTo(
    DiagramItem[] array,
    int index
)
public:
void CopyTo(
    array<DiagramItem^>^ array, 
    int index
)
member CopyTo : 
        array:DiagramItem[] * 
        index:int -> unit 
public function CopyTo(
    array : DiagramItem[], 
    index : int
)

Parameters

  • index
    Type: System.Int32
    The zero-based index in array at which copying begins.

.NET Framework Security

See Also

Reference

SelectedShapesCollection Class

CopyTo Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace