Edit

Share via


BehaviorServiceAdornerCollection.CopyTo(Adorner[], Int32) Method

Definition

Copies the BehaviorServiceAdornerCollection values to a one-dimensional Array at the specified index.

public:
 void CopyTo(cli::array <System::Windows::Forms::Design::Behavior::Adorner ^> ^ array, int index);
public void CopyTo (System.Windows.Forms.Design.Behavior.Adorner[] array, int index);
member this.CopyTo : System.Windows.Forms.Design.Behavior.Adorner[] * int -> unit
Public Sub CopyTo (array As Adorner(), index As Integer)

Parameters

array
Adorner[]

The one-dimensional Array that is the destination of the values copied from BehaviorServiceAdornerCollection.

index
Int32

The index in array where copying begins.

Exceptions

array is multidimensional.

-or-

The number of elements in the BehaviorServiceAdornerCollection is greater than the available space between index and the end of array.

array is null.

arrayIndex is less than the lower bound of array.

Applies to

See also