InputBindingCollection::CopyTo Method (array<InputBinding^>^, Int32)

 

Copies all of the items in the InputBindingCollection to the specified one-dimensional array, starting at the specified index of the target array.

Namespace:   System.Windows.Input
Assembly:  PresentationCore (in PresentationCore.dll)

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

Parameters

inputBindings
Type: array<System.Windows.Input::InputBinding^>^

The array into which the collection is copied.

index
Type: System::Int32

The index position in inputBindings at which copying starts.

Exception Condition
ArgumentNullException

inputBindings is null.

ArgumentOutOfRangeException

index is less than 0.

.NET Framework
Available since 3.0
Return to top
Show: