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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.