## CookieContainer::GetCookieHeader(System::SharedPtr\<Uri\>) method


指定された URI に関連付けられたクッキーを含む HTTP ヘッダーを返します。

```cpp
String System::Net::CookieContainer::GetCookieHeader(System::SharedPtr<Uri> uri)
```


| パラメーター | 型 | 説明 |
| --- | --- | --- |
| uri | System::SharedPtr\<Uri\> | ヘッダー名が作成される URI。 |

### ReturnValue

指定された URI に関連付けられたクッキーを含む HTTP ヘッダーです。

## 参照

* Class [String](../../../system/string/)
* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Uri](../../../system/uri/)
* Class [CookieContainer](../)
* Namespace [System::Net](../../)
* Library [Aspose.Page for C++](../../../)
## CookieContainer::GetCookieHeader(System::SharedPtr\<Uri\>, String\&) method


指定された URI に関連付けられたクッキーを含む HTTP ヘッダーを返します。

```cpp
String System::Net::CookieContainer::GetCookieHeader(System::SharedPtr<Uri> uri, String &optCookie2)
```


| パラメーター | 型 | 説明 |
| --- | --- | --- |
| uri | System::SharedPtr\<Uri\> | ヘッダー名が作成される URI。 |
| optCookie2 | String\& | 最大サポートバージョンのクッキーが割り当てられる出力パラメーターです。 |

### ReturnValue

指定された URI に関連付けられたクッキーを含む HTTP ヘッダーです。

## 参照

* Class [String](../../../system/string/)
* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Uri](../../../system/uri/)
* Class [CookieContainer](../)
* Namespace [System::Net](../../)
* Library [Aspose.Page for C++](../../../)
