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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.