InputGestureCollection.CopyTo(InputGesture[], Int32) Method

Definition

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

public:
 void CopyTo(cli::array <System::Windows::Input::InputGesture ^> ^ inputGestures, int index);
public void CopyTo (System.Windows.Input.InputGesture[] inputGestures, int index);
member this.CopyTo : System.Windows.Input.InputGesture[] * int -> unit
Public Sub CopyTo (inputGestures As InputGesture(), index As Integer)

Parameters

inputGestures
InputGesture[]

An array into which the collection is copied.

index
Int32

The index position in the inputGestures at which copying begins.

Exceptions

inputGestures is a null.

index is less than 0.

Applies to

See also