WindowCollection::CopyTo Method (array<Window^>^, Int32)

 

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

Namespace:   System.Windows
Assembly:  PresentationFramework (in PresentationFramework.dll)

public:
void CopyTo(
	array<Window^>^ array,
	int index
)

Parameters

array
Type: array<System.Windows::Window^>^

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

index
Type: System::Int32

The position in the collection to start copying from.

.NET Framework
Available since 3.0
Return to top
Show: