## CookieCollection::Remove method


Tar bort den angivna cookien från samlingen.

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


| Parameter | Type | Beskrivning |
| --- | --- | --- |
| cookie | const System::SharedPtr\<Cookie\>\& | Cookie:n att ta bort. |

### ReturnValue

Sant när den angivna cookie:n har tagits bort framgångsrikt, annars falskt.

## Se även

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