MethodDataCollection.CopyTo Method

Definition

Copies the MethodDataCollection object into an array.

Overloads

CopyTo(Array, Int32)

Copies the MethodDataCollection into an array.

CopyTo(MethodData[], Int32)

Copies the MethodDataCollection to a specialized MethodData array.

CopyTo(Array, Int32)

Source:
MethodSet.cs
Source:
MethodSet.cs
Source:
MethodSet.cs

Copies the MethodDataCollection into an array.

public:
 virtual void CopyTo(Array ^ array, int index);
public void CopyTo (Array array, int index);
abstract member CopyTo : Array * int -> unit
override this.CopyTo : Array * int -> unit
Public Sub CopyTo (array As Array, index As Integer)

Parameters

array
Array

The array to which to copy the collection.

index
Int32

The index from which to start.

Implements

Remarks

.NET Framework Security

Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.

See also

Applies to

CopyTo(MethodData[], Int32)

Source:
MethodSet.cs
Source:
MethodSet.cs
Source:
MethodSet.cs

Copies the MethodDataCollection to a specialized MethodData array.

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

Parameters

methodArray
MethodData[]

The destination array to which to copy the MethodData objects.

index
Int32

The index in the destination array from which to start the copy.

Remarks

.NET Framework Security

Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.

Applies to