FrozenDictionary<TKey,TValue>.CopyTo メソッド

定義

オーバーロード

CopyTo(Span<KeyValuePair<TKey,TValue>>)

ディクショナリの要素を 型のスパンにコピーします KeyValuePair<TKey,TValue>

CopyTo(KeyValuePair<TKey,TValue>[], Int32)

指定した から始まる 型 KeyValuePair<TKey,TValue>の配列にディクショナリの要素をコピーします destinationIndex

CopyTo(Span<KeyValuePair<TKey,TValue>>)

ソース:
FrozenDictionary.cs
ソース:
FrozenDictionary.cs

ディクショナリの要素を 型のスパンにコピーします KeyValuePair<TKey,TValue>

public:
 void CopyTo(Span<System::Collections::Generic::KeyValuePair<TKey, TValue>> destination);
public void CopyTo (Span<System.Collections.Generic.KeyValuePair<TKey,TValue>> destination);
member this.CopyTo : Span<System.Collections.Generic.KeyValuePair<'Key, 'Value>> -> unit
Public Sub CopyTo (destination As Span(Of KeyValuePair(Of TKey, TValue)))

パラメーター

destination
Span<KeyValuePair<TKey,TValue>>

ディクショナリからコピーされた要素のコピー先であるスパン。

適用対象

CopyTo(KeyValuePair<TKey,TValue>[], Int32)

ソース:
FrozenDictionary.cs
ソース:
FrozenDictionary.cs

指定した から始まる 型 KeyValuePair<TKey,TValue>の配列にディクショナリの要素をコピーします destinationIndex

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

パラメーター

destination
KeyValuePair<TKey,TValue>[]

ディクショナリからコピーされた要素のコピー先となる配列。

destinationIndex
Int32

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

実装

適用対象