InputBindingCollection.CopyTo Method (InputBinding[], Int32)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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.

Exception Condition
ArgumentNullException

inputBindings is null.

ArgumentOutOfRangeException

index is less than 0.

.NET Framework
Available since 3.0
Return to top
Show: