Bewerken

Share via


WindowCollection.CopyTo(Window[], Int32) Method

Definition

Copies each Window object in the collection to an array, starting from the specified index.

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

Parameters

array
Window[]

An array of type Window that the Window objects in the collection are copied to.

index
Int32

The position in the collection to start copying from.

Applies to

See also