Condividi tramite


CommandBindingCollection.Insert(Int32, CommandBinding) Metodo

Definizione

Inserisce l'oggetto CommandBinding specificato in questo oggetto CommandBindingCollection in corrispondenza dell'indice specificato.

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)

Parametri

index
Int32

Indice a base zero in corrispondenza del quale inserire commandBinding.

commandBinding
CommandBinding

L'associazione da inserire.

Eccezioni

commandBinding è null.

Si applica a