SelectedShapesCollection.CopyTo Method (Array, Int32)

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

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

Syntax

'Declaration
Public Sub CopyTo ( _
    array As Array, _
    index As Integer _
)
public void CopyTo(
    Array array,
    int index
)
public:
virtual void CopyTo(
    Array^ array, 
    int index
) sealed
abstract CopyTo : 
        array:Array * 
        index:int -> unit  
override CopyTo : 
        array:Array * 
        index:int -> unit
public final function CopyTo(
    array : Array, 
    index : int
)

Parameters

  • array
    Type: Array

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

  • index
    Type: Int32

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

Implements

ICollection.CopyTo(Array, Int32)

.NET Framework Security

See Also

Reference

SelectedShapesCollection Class

CopyTo Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace