PropertyDataCollection.CopyTo PropertyDataCollection.CopyTo PropertyDataCollection.CopyTo PropertyDataCollection.CopyTo Method

Definition

Copies the PropertyDataCollection object into an array.

Overloads

CopyTo(Array, Int32) CopyTo(Array, Int32) CopyTo(Array, Int32)

Copies the PropertyDataCollection into an array.

CopyTo(PropertyData[], Int32) CopyTo(PropertyData[], Int32) CopyTo(PropertyData[], Int32) CopyTo(PropertyData[], Int32)

Copies the PropertyDataCollection to a specialized PropertyData object array.

CopyTo(Array, Int32) CopyTo(Array, Int32) CopyTo(Array, Int32)

Copies the PropertyDataCollection 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

Parameters

array
Array Array Array Array

The array to which to copy the PropertyDataCollection.

index
Int32 Int32 Int32 Int32

The index from which to start copying.

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

CopyTo(PropertyData[], Int32) CopyTo(PropertyData[], Int32) CopyTo(PropertyData[], Int32) CopyTo(PropertyData[], Int32)

Copies the PropertyDataCollection to a specialized PropertyData object array.

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

Parameters

propertyArray
PropertyData[]

The destination array to contain the copied PropertyDataCollection.

index
Int32 Int32 Int32 Int32

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

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