CommandBindingCollection.Contains Method (CommandBinding)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: