CommandBindingCollection.Contains(CommandBinding) Método

Definição

Determina se o CommandBinding especificado está neste 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

Parâmetros

commandBinding
CommandBinding

A associação a ser localizada na coleção.

Retornos

true se o CommandBinding especificado estiver na coleção; caso contrário, false.

Aplica-se a

Confira também