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 de l’élément spécifié CommandBinding dans ce CommandBindingCollectionfichier .
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 à localiser dans la collection.
Retours
Index de la première occurrence de , s’il valueest trouvé ; sinon, -1.