Condividi tramite


GhostShapeCollection.CopyTo Method (Array, Int32)

Copies the GhostShapes to an 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

'Dichiarazione
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: System.Array
    The one-dimensional Array that is the destination of the GhostShapes copied from the collection. The Array must have zero-based indexing.
  • index
    Type: System.Int32
    The zero-based index in array at which copying begins.

Implements

ICollection.CopyTo(Array, Int32)

.NET Framework Security

See Also

Reference

GhostShapeCollection Class

CopyTo Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace