## CookieCollection::Remove method


从集合中移除指定的 cookie。

```cpp
bool System::Net::CookieCollection::Remove(const System::SharedPtr<Cookie> &cookie) override
```


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| Cookie | const System::SharedPtr\<Cookie\>\& | 要移除的 cookie。 |

### ReturnValue

当指定的 cookie 成功移除时为 True，否则为 false。

## 另见

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