CommandBindingCollection.IndexOf(CommandBinding) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.