Edit

Kongsi melalui


CommandBindingCollection.CopyTo(CommandBinding[], Int32) Method

Definition

Copies all of the items in the CommandBindingCollection to the specified one-dimensional array, starting at the specified index of the target array.

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[]

The array into which the collection is copied.

index
Int32

The index position in commandBindings at which copying starts.

Exceptions

commandBindings is null.

index is less than 0.

Applies to

See also