FrozenDictionary<TKey,TValue>.CopyTo 方法  
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| CopyTo(Span<KeyValuePair<TKey,TValue>>) | 将字典的元素复制到 类型的 KeyValuePair<TKey,TValue>范围。 | 
| CopyTo(KeyValuePair<TKey,TValue>[], Int32) | 从指定的  | 
CopyTo(Span<KeyValuePair<TKey,TValue>>)
- Source:
- FrozenDictionary.cs
- Source:
- 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>> -> unitPublic Sub CopyTo (destination As Span(Of KeyValuePair(Of TKey, TValue)))参数
- destination
- Span<KeyValuePair<TKey,TValue>>
从字典复制的元素的目标范围。
适用于
CopyTo(KeyValuePair<TKey,TValue>[], Int32)
- Source:
- FrozenDictionary.cs
- Source:
- 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 -> unitPublic Sub CopyTo (destination As KeyValuePair(Of TKey, TValue)(), destinationIndex As Integer)参数
- destination
- KeyValuePair<TKey,TValue>[]
数组,它是从字典复制的元素的目标。
- destinationIndex
- Int32
              destination 中从零开始的索引,从此处开始复制。