System::Net::CookieCollection::InternalAdd 方法
CookieCollection::InternalAdd method
将指定的 cookie 添加到集合中。
int32_t System::Net::CookieCollection::InternalAdd(System::SharedPtr<Cookie> cookie, bool isStrict)
| 参数 | 类型 | 描述 |
|---|---|---|
| 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.Font for C++