DocumentReferenceCollection.CopyTo(DocumentReference[], Int32) 方法

定義

將整個集合複製到從指定陣列索引開始的陣列。

public:
 void CopyTo(cli::array <System::Windows::Documents::DocumentReference ^> ^ array, int arrayIndex);
public void CopyTo(System.Windows.Documents.DocumentReference[] array, int arrayIndex);
member this.CopyTo : System.Windows.Documents.DocumentReference[] * int -> unit
Public Sub CopyTo (array As DocumentReference(), arrayIndex As Integer)

參數

array
DocumentReference[]

應該將集合元素複製到的目標陣列。

arrayIndex
Int32

集合元素要複製的陣列中以零為基礎的起始索引。

備註

基本的收藏支援。 實作 ICollection<T>.CopyTo

適用於