[]
Copies the elements of the current selection into an array, starting at a particular array index.
public void CopyTo(Array array, int index)
Type | Name | Description |
---|---|---|
Array | array | The one-dimensional array that is the destination of the elements copied from the current selection. The array must have zero-based indexing. |
int | index | The zero-based index in |
This method is used to copy the currently selected components within the designer environment to a specified array, starting at a particular index. It is useful for operations that require processing or manipulation of the selected components outside the context of the selection service. The method ensures that the elements are copied in a manner that respects the order in which they are currently selected.