Redigera

Dela via


InputBindingCollection.IndexOf(InputBinding) Method

Definition

Searches for the first occurrence of the specified InputBinding in this InputBindingCollection.

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

Parameters

value
InputBinding

The object to locate in the collection.

Returns

The index of the first occurrence of value, if found; otherwise, -1.

Applies to