InputBindingCollection.CopyTo Method

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(
	InputBinding[] inputBindings,
	int index
)

Parameters

inputBindings
Type: 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.

ExceptionCondition
ArgumentNullException

inputBindings is null.

ArgumentOutOfRangeException

index is less than 0.

.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