ProcessThreadCollection.CopyTo Method

Definition

Overloads

CopyTo(Int32, ProcessThread[], Int32, Int32)
CopyTo(ProcessThread[])
CopyTo(ProcessThread[], Int32)

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

CopyTo(Int32, ProcessThread[], Int32, Int32)

Warning

This API is now obsolete.

public:
 void CopyTo(int index, cli::array <System::Diagnostics::ProcessThread ^> ^ array, int arrayIndex, int count);
[System.Obsolete("This API is no longer available", true)]
public void CopyTo (int index, System.Diagnostics.ProcessThread[] array, int arrayIndex, int count);
member this.CopyTo : int * System.Diagnostics.ProcessThread[] * int * int -> unit
Public Sub CopyTo (index As Integer, array As ProcessThread(), arrayIndex As Integer, count As Integer)

Parameters

index
Int32
array
ProcessThread[]
arrayIndex
Int32
count
Int32
Attributes

CopyTo(ProcessThread[])

Warning

This API is now obsolete.

public:
 void CopyTo(cli::array <System::Diagnostics::ProcessThread ^> ^ array);
[System.Obsolete("This API is no longer available", true)]
public void CopyTo (System.Diagnostics.ProcessThread[] array);
member this.CopyTo : System.Diagnostics.ProcessThread[] -> unit
Public Sub CopyTo (array As ProcessThread())

Parameters

array
ProcessThread[]
Attributes

CopyTo(ProcessThread[], Int32)

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

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

Parameters

array
ProcessThread[]

An array of ProcessThread instances to add to the collection.

index
Int32

The location at which to add the new instances.

Applies to