## ConcurrentDictionary::CopyTo method


将容器元素复制到现有数组元素中。

```cpp
virtual void System::Collections::Concurrent::ConcurrentDictionary<TKey, TValue>::CopyTo(ArrayPtr<System::Collections::Generic::KeyValuePair<TKey, TValue>> arr, int index) override
```


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| arr | ArrayPtr\<System::Collections::Generic::KeyValuePair\<TKey, TValue\>\> | 目标数组。 |
| 索引 | int | 目标数组中的索引。 |

## 另见

* Typedef [ArrayPtr](../../../system/arrayptr/)
* Class [KeyValuePair](../../../system.collections.generic/keyvaluepair/)
* Class [ConcurrentDictionary](../)
* Namespace [System::Collections::Concurrent](../../)
* Library [Aspose.Font for C++](../../../)
