CommandBindingCollection.Insert(Int32, CommandBinding) CommandBindingCollection.Insert(Int32, CommandBinding) CommandBindingCollection.Insert(Int32, CommandBinding) Method

Definição

Insere o CommandBinding especificado nesta CommandBindingCollection no índice especificado.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

Parâmetros

index
Int32 Int32 Int32

O índice baseado em zero no qual inserir commandBindingThe zero-based index at which to insert commandBinding

commandBinding
CommandBinding CommandBinding CommandBinding

A associação a inserir.The binding to insert.

Exceções

commandBinding é null.commandBinding is null.

Aplica-se a