FrozenDictionary<TKey,TValue>.CopyTo Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
CopyTo(Span<KeyValuePair<TKey,TValue>>) |
Copies the elements of the dictionary to a span of type KeyValuePair<TKey,TValue>. |
CopyTo(KeyValuePair<TKey,TValue>[], Int32) |
Copies the elements of the dictionary to an array of type KeyValuePair<TKey,TValue>, starting at the specified |
CopyTo(Span<KeyValuePair<TKey,TValue>>)
- Source:
- FrozenDictionary.cs
- Source:
- FrozenDictionary.cs
- Source:
- FrozenDictionary.cs
Copies the elements of the dictionary to a span of type 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)))
Parameters
- destination
- Span<KeyValuePair<TKey,TValue>>
The span that is the destination of the elements copied from the dictionary.
Applies to
CopyTo(KeyValuePair<TKey,TValue>[], Int32)
- Source:
- FrozenDictionary.cs
- Source:
- FrozenDictionary.cs
- Source:
- FrozenDictionary.cs
Copies the elements of the dictionary to an array of type KeyValuePair<TKey,TValue>, starting at the specified 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)
Parameters
- destination
- KeyValuePair<TKey,TValue>[]
The array that is the destination of the elements copied from the dictionary.
- destinationIndex
- Int32
The zero-based index in destination
at which copying begins.