CommandBindingCollection.IndexOf(CommandBinding) Method

Definition

Searches for the first occurrence of the specified CommandBinding in this CommandBindingCollection.

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

Parameters

value
CommandBinding

The binding to locate in the collection.

Returns

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

Applies to