CommandBindingCollection.IndexOf(CommandBinding) CommandBindingCollection.IndexOf(CommandBinding) CommandBindingCollection.IndexOf(CommandBinding) CommandBindingCollection.IndexOf(CommandBinding) Method

Definição

Pesquisa pela primeira ocorrência do CommandBinding especificado nesta CommandBindingCollection.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

Parâmetros

value
CommandBinding CommandBinding CommandBinding CommandBinding

A associação a ser localizada na coleção.The binding to locate in the collection.

Retornos

O índice da primeira ocorrência de value, se encontrado; caso contrário, -1.The index of the first occurrence of value, if found; otherwise, -1.

Aplica-se a