PropertyDescriptorCollection.CopyTo(Array, Int32) PropertyDescriptorCollection.CopyTo(Array, Int32) PropertyDescriptorCollection.CopyTo(Array, Int32) Method

定義

將整個集合複製至陣列,開始於指定的索引編號。Copies the entire collection to an array, starting at the specified index number.

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

參數

array
Array Array Array

PropertyDescriptor 物件的陣列,用於複製集合的元素。An array of PropertyDescriptor objects to copy elements of the collection to.

index
Int32 Int32 Int32

array 參數的索引,位於複製開始的位置。The index of the array parameter at which copying begins.

實作

適用於