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.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: ArrayThe one-dimensional Array that is the destination of the GhostShapes copied from the collection. The Array must have zero-based indexing.
index
Type: Int32The zero-based index in array at which copying begins.
Implements
ICollection.CopyTo(Array, Int32)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.