Edit

Share via


ProcessModuleCollection.CopyTo(ProcessModule[], Int32) Method

Definition

Copies an array of ProcessModule instances to the collection, at the specified index.

public:
 void CopyTo(cli::array <System::Diagnostics::ProcessModule ^> ^ array, int index);
public void CopyTo (System.Diagnostics.ProcessModule[] array, int index);
member this.CopyTo : System.Diagnostics.ProcessModule[] * int -> unit
Public Sub CopyTo (array As ProcessModule(), index As Integer)

Parameters

array
ProcessModule[]

An array of ProcessModule instances to add to the collection.

index
Int32

The location at which to add the new instances.

Applies to