ComponentCollection.CopyTo(IComponent[], 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 the entire collection to an array, starting writing at the specified array index.
public:
void CopyTo(cli::array <System::ComponentModel::IComponent ^> ^ array, int index);
public void CopyTo (System.ComponentModel.IComponent[] array, int index);
member this.CopyTo : System.ComponentModel.IComponent[] * int -> unit
Public Sub CopyTo (array As IComponent(), index As Integer)
Parameters
- array
- IComponent[]
An IComponent array to copy the objects in the collection to.
- index
- Int32
The index of the array
at which copying to should begin.
Applies to
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.