CommandBindingCollection.CopyTo(CommandBinding[], Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.