System::Net::CookieCollection::InternalAdd method
CookieCollection::InternalAdd method
将指定的 cookie 添加到集合中。
int32_t System::Net::CookieCollection::InternalAdd(System::SharedPtr<Cookie> cookie, bool isStrict)
| Parameter | Type | 描述 |
|---|---|---|
| cookie | System::SharedPtr<Cookie> | 要添加的 cookie。 |
| isStrict | bool | 当指定的 cookie 必须替换旧的时为 true,否则为 false。 |
ReturnValue
当指定的 cookie 替换了旧的时为 0,否则为 1。
另见
- Typedef SharedPtr
- Class Cookie
- Class CookieCollection
- Namespace System::Net
- Library Aspose.Page for C++