編輯

共用方式為


PropertyValueCollection.CopyTo(Object[], Int32) Method

Definition

Copies all PropertyValueCollection objects in this collection to the specified array, starting at the specified index in the target array.

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

Parameters

array
Object[]

The array of PropertyValueCollection objects that receives the elements of this collection.

index
Int32

The zero-based index in array where this method starts copying this collection.

Applies to