CommandBindingCollection.IndexOf(CommandBinding) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Recherche la première occurrence du CommandBinding spécifié dans ce 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
Paramètres
- value
- CommandBinding
Liaison à trouver dans la collection.
Retours
Index de la première occurrence de value s'il existe ; sinon -1.