System::Net::CookieCollection::IndexOf 方法
CookieCollection::IndexOf method
返回指定 cookie 的索引。
int32_t System::Net::CookieCollection::IndexOf(System::SharedPtr<Cookie> cookie)
| 参数 | 类型 | 描述 |
|---|---|---|
| Cookie | System::SharedPtr<Cookie> | 要搜索的 cookie。 |
ReturnValue
如果找到指定的 cookie,则返回其索引;否则返回 -1。
另见
- Typedef SharedPtr
- Class Cookie
- Class CookieCollection
- Namespace System::Net
- Library Aspose.Font for C++