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)
Parameter描述
TKey密钥类型。
TValue值类型。
ParameterType描述
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)
Parameter描述
TKey密钥类型。
TValue值类型。
ParameterType描述
std::wostream&用于插入数据的输出流。
pairconst KeyValuePair<TKey, TValue>&Data 用于插入。

ReturnValue

stream.

另见