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实现。

适用于