Редагувати

Поділитися через


CommandBindingCollection.Insert(Int32, CommandBinding) Method

Definition

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

public:
 void Insert(int index, System::Windows::Input::CommandBinding ^ commandBinding);
public void Insert (int index, System.Windows.Input.CommandBinding commandBinding);
member this.Insert : int * System.Windows.Input.CommandBinding -> unit
Public Sub Insert (index As Integer, commandBinding As CommandBinding)

Parameters

index
Int32

The zero-based index at which to insert commandBinding.

commandBinding
CommandBinding

The binding to insert.

Exceptions

commandBinding is null.

Applies to