InputGestureCollection.IndexOf(InputGesture) 方法

定义

搜索此InputGesture中指定的第一个匹配项InputGestureCollection

public:
 int IndexOf(System::Windows::Input::InputGesture ^ value);
public int IndexOf(System.Windows.Input.InputGesture value);
member this.IndexOf : System.Windows.Input.InputGesture -> int
Public Function IndexOf (value As InputGesture) As Integer

参数

value
InputGesture

要定位在集合中的手势。

返回

如果找到第一个匹配项的 value索引,则为 -1。

适用于