CommandBindingCollection::CopyTo Method (array<CommandBinding^>^, Int32)
.NET Framework (current version)
Copies all of the items in the CommandBindingCollection to the specified one-dimensional array, starting at the specified index of the target array.
Assembly: PresentationCore (in PresentationCore.dll)
Parameters
- commandBindings
-
Type:
array<System.Windows.Input::CommandBinding^>^
The array into which the collection is copied.
- index
-
Type:
System::Int32
The index position in commandBindings at which copying starts.
| Exception | Condition |
|---|---|
| ArgumentNullException | commandBindings is null. |
| ArgumentOutOfRangeException | index is less than 0. |
.NET Framework
Available since 3.0
Available since 3.0
Show: