DiagramItemCollection.CopyTo Method
Copies the DiagramItems of the selection 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
'Déclaration
Public Overridable Sub CopyTo ( _
array As DiagramItem(), _
index As Integer _
)
public virtual void CopyTo(
DiagramItem[] array,
int index
)
public:
virtual void CopyTo(
array<DiagramItem^>^ array,
int index
)
abstract CopyTo :
array:DiagramItem[] *
index:int -> unit
override CopyTo :
array:DiagramItem[] *
index:int -> unit
public function CopyTo(
array : DiagramItem[],
index : int
)
Parameters
- array
Type: array<Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem[]
The one-dimensional Array that is the destination of the DiagramItems copied from the selection. The Array must have zero-based indexing.
- index
Type: System.Int32
The 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.