## 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 | Type | Beskrivning |
| --- | --- | --- |
| cookie | const System::SharedPtr\<Cookie\>\& | Cookien att kontrollera. |

### ReturnValue

Sant när samlingen innehåller den angivna cookien, annars falskt.

## Se även

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