## CookieCollection::Contains method


Kontrollerar om samlingen innehåller den angivna kakan.

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


| Parameter | Typ | Beskrivning |
| --- | --- | --- |
| cookie | const System::SharedPtr\<Cookie\>\& | Den cookie som ska kontrolleras. |

### ReturnValue

True när samlingen innehåller den angivna cookien, annars false.

## Se även

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