System::Linq::IOrderedEnumerable::LINQ_ThenBy 方法

IOrderedEnumerable::LINQ_ThenBy(const Func<Source, Key>&) method

template<typename Key> SharedPtr<IOrderedEnumerable<Source>> System::Linq::IOrderedEnumerable<T>::LINQ_ThenBy(const Func<Source, Key> &keySelector)

另见

IOrderedEnumerable::LINQ_ThenBy(const Func<T, Key>&) method

根据键对序列中的元素执行后续的升序排序。

template<typename Key> SharedPtr<IOrderedEnumerable<T>> System::Linq::IOrderedEnumerable<T>::LINQ_ThenBy(const Func<T, Key> &keySelector)
Parameter描述
keySelector 返回的键的类型。
ParameterType描述
keySelectorconst Func<T, Key>&一个从每个元素中提取键的函数。

ReturnValue

System::Linq::IOrderedEnumerable whose elements are sorted according to a key.

另见