語言

InputGestureCollection.CopyTo(InputGesture[], Int32) 方法

定義

將 中 InputGestureCollection 的所有項目複製到指定的一維陣列,從目標陣列指定的索引開始。

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)

參數

inputGestures
InputGesture[]

一個將集合複製到的陣列。

index
Int32

複製開始的指標位置 inputGestures 。

例外狀況

inputGestures 是 null。

index 小於0。

適用於

另請參閱