## CookieCollection::GetEnumerator method


获取枚举器。

```cpp
System::SharedPtr<Collections::Generic::IEnumerator<System::SharedPtr<Cookie>>> System::Net::CookieCollection::GetEnumerator() override
```


### ReturnValue

指向新创建的枚举器对象的指针，可用于遍历接口对象。

## 另见

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [IEnumerator](../../../system.collections.generic/ienumerator/)
* Class [Cookie](../../cookie/)
* Class [CookieCollection](../)
* Namespace [System::Net](../../)
* Library [Aspose.Font for C++](../../../)
