GhostShapeCollection.CopyTo Method (array<GhostShape , Int32)
Copies the GhostShapes to a GhostShape[] 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)
Syntax
'Declaration
Public Sub CopyTo ( _
array As GhostShape(), _
index As Integer _
)
public void CopyTo(
GhostShape[] array,
int index
)
public:
void CopyTo(
array<GhostShape^>^ array,
int index
)
member CopyTo :
array:GhostShape[] *
index:int -> unit
public function CopyTo(
array : GhostShape[],
index : int
)
Parameters
array
Type: array<Microsoft.VisualStudio.Modeling.Diagrams.GhostShape[]The one-dimensional GhostShape[] array that is the destination of the GhostShapes copied from the collection. The Array must have zero-based indexing.
index
Type: System.Int32The zero-based index in array at which copying begins.
.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.