編輯

共用方式為


DocumentReferenceCollection.CopyTo(DocumentReference[], Int32) Method

Definition

Copies the whole collection to an array that starts at a given array index.

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)

Parameters

array
DocumentReference[]

The destination array to which the elements from the collection should be copied.

arrayIndex
Int32

The zero-based starting index within the array where the collection elements are to be copied.

Remarks

Basic collection support. Implements ICollection<T>.CopyTo.

Applies to