## PathList::idx_set method


Sets the cookie collection by specified path.

```cpp
void System::Net::PathList::idx_set(String s, System::SharedPtr<CookieCollection> value)
```


| Parameter | Type | Description |
| --- | --- | --- |
| s | String | The path. |
| value | System::SharedPtr\<CookieCollection\> | The cookie collection to set. |

## See Also

* Class [String](../../../system/string/)
* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [CookieCollection](../../cookiecollection/)
* Class [PathList](../)
* Namespace [System::Net](../../)
* Library [Aspose.PUB for C++](../../../)
