System::Collections::Generic::operator<< 方法

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

使用 UTF-8 编码将数据插入流。

template<typename TKey,typename TValue> std::ostream & System::Collections::Generic::operator<<(std::ostream &stream, const KeyValuePair<TKey, TValue> &pair)
参数描述
TKey密钥类型。
TValue值类型。
参数类型描述
std::ostream\&用于插入数据的输出流。
pairconst KeyValuePair<TKey, TValue>&用于插入的 Data

ReturnValue

stream.

另见

System::Collections::Generic::operator«(std::wostream&, const KeyValuePair<TKey, TValue>&) method

将数据插入流。

template<typename TKey,typename TValue> std::wostream & System::Collections::Generic::operator<<(std::wostream &stream, const KeyValuePair<TKey, TValue> &pair)
参数描述
TKey密钥类型。
TValue值类型。
参数类型描述
std::wostream\&用于插入数据的输出流。
pairconst KeyValuePair<TKey, TValue>&用于插入的 Data

ReturnValue

stream.

另见