WindowCollection::CopyTo Method

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft