Compartilhar via


CommandBindingCollection.Insert(Int32, CommandBinding) Método

Definição

Insere o CommandBinding especificado nesta CommandBindingCollection no índice especificado.

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)

Parâmetros

index
Int32

O índice de base zero no qual o commandBinding será inserido.

commandBinding
CommandBinding

A associação a inserir.

Exceções

commandBinding é null.

Aplica-se a