ImmutableSortedDictionary<TKey,TValue>.ICollection<KeyValuePair<TKey,TValue>>.CopyTo メソッド

定義

ICollection<T> の要素を Array にコピーします。Array の特定のインデックスからコピーが開始されます。

 virtual void System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<TKey,TValue>>.CopyTo(cli::array <System::Collections::Generic::KeyValuePair<TKey, TValue>> ^ array, int arrayIndex) = System::Collections::Generic::ICollection<System::Collections::Generic::KeyValuePair<TKey, TValue>>::CopyTo;
void ICollection<KeyValuePair<TKey,TValue>>.CopyTo (System.Collections.Generic.KeyValuePair<TKey,TValue>[] array, int arrayIndex);
abstract member System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<TKey,TValue>>.CopyTo : System.Collections.Generic.KeyValuePair<'Key, 'Value>[] * int -> unit
override this.System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<TKey,TValue>>.CopyTo : System.Collections.Generic.KeyValuePair<'Key, 'Value>[] * int -> unit
Sub CopyTo (array As KeyValuePair(Of TKey, TValue)(), arrayIndex As Integer) Implements ICollection(Of KeyValuePair(Of TKey, TValue)).CopyTo

パラメーター

array
KeyValuePair<TKey,TValue>[]

Array から要素がコピーされる 1 次元の ICollection<T>Array には、0 から始まるインデックス番号が必要です。

arrayIndex
Int32

コピーの開始位置とする array のインデックス (0 から始まる)。

実装

適用対象