## System::Collections::Generic::operator<<(std::ostream\&, const KeyValuePair\<TKey, TValue\>\&) method


Infoga data i strömmen med UTF‑8‑kodning.

```cpp
template<typename TKey,typename TValue> std::ostream & System::Collections::Generic::operator<<(std::ostream &stream, const KeyValuePair<TKey, TValue> &pair)
```


| Parameter | Beskrivning |
| --- | --- |
| TKey | Nyckeltyp. |
| TValue | Värdetyp. |

| Parameter | Typ | Beskrivning |
| --- | --- | --- |
| ström | std::ostream\& | Utdatastream att infoga data i. |
| pair | const KeyValuePair\<TKey, TValue\>\& | [Data](../../system.data/) att infoga. |

### ReturnValue

**stream**.

## Se även

* Class [KeyValuePair](../keyvaluepair/)
* Namespace [System::Collections::Generic](../)
* Library [Aspose.PDF for C++](../../)
## System::Collections::Generic::operator<<(std::wostream\&, const KeyValuePair\<TKey, TValue\>\&) method


Infoga data i strömmen.

```cpp
template<typename TKey,typename TValue> std::wostream & System::Collections::Generic::operator<<(std::wostream &stream, const KeyValuePair<TKey, TValue> &pair)
```


| Parameter | Beskrivning |
| --- | --- |
| TKey | Nyckeltyp. |
| TValue | Värdetyp. |

| Parameter | Typ | Beskrivning |
| --- | --- | --- |
| ström | std::wostream\& | Utdatastream att infoga data i. |
| pair | const KeyValuePair\<TKey, TValue\>\& | [Data](../../system.data/) att infoga. |

### ReturnValue

**stream**.

## Se även

* Class [KeyValuePair](../keyvaluepair/)
* Namespace [System::Collections::Generic](../)
* Library [Aspose.PDF for C++](../../)
