FrozenDictionary<TKey,TValue>.CopyTo Metoda

Definice

Přetížení

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

Zkopíruje elementy slovníku do rozsahu typu KeyValuePair<TKey,TValue>.

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

Zkopíruje elementy slovníku do pole typu KeyValuePair<TKey,TValue>, počínaje zadaným destinationIndexobjektem .

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

Zdroj:
FrozenDictionary.cs
Zdroj:
FrozenDictionary.cs

Zkopíruje elementy slovníku do rozsahu typu 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)))

Parametry

destination
Span<KeyValuePair<TKey,TValue>>

Rozsah, který je cílem elementů zkopírovaných ze slovníku.

Platí pro

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

Zdroj:
FrozenDictionary.cs
Zdroj:
FrozenDictionary.cs

Zkopíruje elementy slovníku do pole typu KeyValuePair<TKey,TValue>, počínaje zadaným destinationIndexobjektem .

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)

Parametry

destination
KeyValuePair<TKey,TValue>[]

Pole, které je cílem prvků zkopírovaných ze slovníku.

destinationIndex
Int32

Index založený na nule v poli destination, ve kterém kopírování začíná.

Implementuje

Platí pro