UIElementCollection::CopyTo Method (array<UIElement^>^, Int32)

 

Copies a UIElement from a UIElementCollection to an array, starting at a specified index position.

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

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

Parameters

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

An array of UIElement objects.

index
Type: System::Int32

The index position of the element where copying begins.

.NET Framework
Available since 3.0
Return to top
Show: