## CookieCollection::idx_get(int32_t) method


Returnerar en kaka från cookie-samlingen på det angivna indexet.

```cpp
System::SharedPtr<Cookie> System::Net::CookieCollection::idx_get(int32_t index)
```


| Parameter | Typ | Beskrivning |
| --- | --- | --- |
| index | int32_t | Indexet för en cookie som måste returneras. |

### ReturnValue

En cookie på det angivna indexet.

## Se även

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Cookie](../../cookie/)
* Class [CookieCollection](../)
* Namespace [System::Net](../../)
* Library [Aspose.PDF for C++](../../../)
## CookieCollection::idx_get(String) method


Returnerar en kaka från cookie-samlingen enligt angivet namn.

```cpp
System::SharedPtr<Cookie> System::Net::CookieCollection::idx_get(String name)
```


| Parameter | Typ | Beskrivning |
| --- | --- | --- |
| namn | String | Namnet på en cookie som måste returneras. |

### ReturnValue

En cookie från cookie-samlingen med angivet namn när den hittas, annars nullptr.

## Se även

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