## BaseDictionary::begin method


返回指向容器中键值元素的 KVPair 包装器的迭代器。采用 C# 风格实现——迭代器应返回具有 get_Key() 和 get_Value() 接口的 KVPair 对象。如果容器为空，返回的迭代器将等于 [end()](../../ienumerable/end/)。

```cpp
const_iterator System::Collections::Generic::BaseDictionary<Map>::begin() const noexcept
```


### ReturnValue

指向集合第一个元素的迭代器。

## 另见

* Typedef [const_iterator](../const_iterator/)
* Class [BaseDictionary](../)
* Namespace [System::Collections::Generic](../../)
* Library [Aspose.Font for C++](../../../)
