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

定義

オーバーロード

名前 説明
CopyTo(Span<KeyValuePair<TKey,TValue>>)

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

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

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

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

ソース:
FrozenDictionary.cs
ソース:
FrozenDictionary.cs
ソース:
FrozenDictionary.cs
ソース:
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
ソース:
FrozenDictionary.cs
ソース:
FrozenDictionary.cs
ソース:
FrozenDictionary.cs

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

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 から始まるインデックス。

実装

適用対象