ImmutableSortedSet<T>.ICollection.CopyTo(Array, Int32) 方法

定義

從特定的陣列索引開始,將資料集的項目複製到陣列中。

 virtual void System.Collections.ICollection.CopyTo(Array ^ array, int index) = System::Collections::ICollection::CopyTo;
void ICollection.CopyTo (Array array, int index);
abstract member System.Collections.ICollection.CopyTo : Array * int -> unit
override this.System.Collections.ICollection.CopyTo : Array * int -> unit
Sub CopyTo (array As Array, index As Integer) Implements ICollection.CopyTo

參數

array
Array

一維陣列,這是從資料集複製之項目的目的地。 陣列必須有以零為起始的索引。

index
Int32

array 中以零起始的索引,即開始複製的位置。

實作

備註

這個成員是明確介面成員實作, 只有在 ImmutableSortedSet<T> 執行個體轉換成 ICollection 介面時,才能使用這個成員。

System.Collections.Immutable NuGet 套件

關於不可變的集合以及如何安裝

適用於