CommandBindingCollection::Insert Method (Int32, CommandBinding^)

 

Inserts the specified CommandBinding into this CommandBindingCollection at the specified index.

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

public:
void Insert(
	int index,
	CommandBinding^ commandBinding
)

Parameters

index
Type: System::Int32

The zero-based index at which to insert commandBinding

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

The binding to insert.

Exception Condition
NotSupportedException

commandBinding is null.

.NET Framework
Available since 3.0
Return to top
Show: