This documentation is archived and is not being maintained.

MenuItemCollection::CopyTo Method

Copies the contents of the current MenuItemCollection object.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method CopyTo(Array, Int32) Copies all the items from the MenuItemCollection object to a compatible one-dimensional Array, starting at the specified index in the target array.
Public method CopyTo(array<MenuItem>, Int32) Copies all the items from the MenuItemCollection object to a compatible one-dimensional array of MenuItem objects, starting at the specified index in the target array.
Top
Show: