Share via


InputGestureCollection.Insert(Int32, InputGesture) 方法

定義

將指定之 InputGesture 插入位於指定索引的這個 InputGestureCollection

public:
 void Insert(int index, System::Windows::Input::InputGesture ^ inputGesture);
public void Insert (int index, System.Windows.Input.InputGesture inputGesture);
member this.Insert : int * System.Windows.Input.InputGesture -> unit
Public Sub Insert (index As Integer, inputGesture As InputGesture)

參數

index
Int32

要插入 inputGesture 的索引位置。

inputGesture
InputGesture

要插入的筆勢。

例外狀況

inputGesturenull

適用於