CommandBindingCollection.Contains(CommandBinding) Method

Definition

Determines whether the specified CommandBinding is in this CommandBindingCollection.

public:
 bool Contains(System::Windows::Input::CommandBinding ^ commandBinding);
public bool Contains (System.Windows.Input.CommandBinding commandBinding);
member this.Contains : System.Windows.Input.CommandBinding -> bool
Public Function Contains (commandBinding As CommandBinding) As Boolean

Parameters

commandBinding
CommandBinding

The binding to locate in the collection.

Returns

true if the specified CommandBinding is in the collection; otherwise, false.

Applies to

See also