CommandBindingCollection::Contains Method (CommandBinding^)

 

Determines whether the specified CommandBinding is in this CommandBindingCollection.

Namespace:   System.Windows.Input
Assembly:  PresentationCore (in PresentationCore.dll)

public:
bool Contains(
	CommandBinding^ commandBinding
)

Parameters

commandBinding
Type: System.Windows.Input::CommandBinding^

The binding to locate in the collection.

Return Value

Type: System::Boolean

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

.NET Framework
Available since 3.0
Return to top
Show: