System::Net::CookieCollection::idx_get 方法
CookieCollection::idx_get(int32_t) method
返回位于指定索引的 cookie 集合中的 cookie。
System::SharedPtr<Cookie> System::Net::CookieCollection::idx_get(int32_t index)
| Parameter | Type | 描述 |
|---|---|---|
| 索引 | int32_t | 必须返回的 cookie 的索引。 |
ReturnValue
指定索引处的 cookie。
另见
- Typedef SharedPtr
- Class Cookie
- Class CookieCollection
- Namespace System::Net
- Library Aspose.Page for C++
CookieCollection::idx_get(String) method
根据指定名称返回 cookie 集合中的 cookie。
System::SharedPtr<Cookie> System::Net::CookieCollection::idx_get(String name)
| Parameter | Type | 描述 |
|---|---|---|
| name | 字符串 | 必须返回的 cookie 的名称。 |
ReturnValue
根据指定名称从 cookie 集合中获取 cookie(如果找到),否则返回 nullptr。
另见
- Typedef SharedPtr
- Class Cookie
- Class String
- Class CookieCollection
- Namespace System::Net
- Library Aspose.Page for C++