InputGestureCollection.CopyTo Method (InputGesture[], 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 InputGestureCollection 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(
	InputGesture[] inputGestures,
	int index
)

Parameters

inputGestures
Type: System.Windows.Input.InputGesture[]

An array into which the collection is copied.

index
Type: System.Int32

The index position in the inputGestures at which copying begins.

Exception Condition
ArgumentNullException

inputGestures is a null.

ArgumentOutOfRangeException

index is less than 0.

.NET Framework
Available since 3.0
Return to top
Show: