CommandBindingCollection.CopyTo(CommandBinding[], Int32) Methode

Definitie

Kopieert alle items in de CommandBindingCollection opgegeven eendimensionale matrix, beginnend bij de opgegeven index van de doelmatrix.

public:
 void CopyTo(cli::array <System::Windows::Input::CommandBinding ^> ^ commandBindings, int index);
public void CopyTo(System.Windows.Input.CommandBinding[] commandBindings, int index);
member this.CopyTo : System.Windows.Input.CommandBinding[] * int -> unit
Public Sub CopyTo (commandBindings As CommandBinding(), index As Integer)

Parameters

commandBindings
CommandBinding[]

De matrix waarin de verzameling wordt gekopieerd.

index
Int32

De indexpositie commandBindings waarop kopiƫren begint.

Uitzonderingen

commandBindings is null.

index is kleiner dan 0.

Van toepassing op

Zie ook