System::Collections::Generic::IEnumerable::LINQ_OrderBy method
IEnumerable::LINQ_OrderBy(const Func<Source, Key>&) method
template<typename Key> SharedPtr<Linq::IOrderedEnumerable<Source>> System::Collections::Generic::IEnumerable<T>::LINQ_OrderBy(const Func<Source, Key> &keySelector)
另见
- Typedef SharedPtr
- Class IOrderedEnumerable
- Class Func
- Class IEnumerable
- Namespace System::Collections::Generic
- Library Aspose.Font for C++
IEnumerable::LINQ_OrderBy(const Func<T, Key>&) method
根据 keySelector 选择的键值,以升序对序列的元素进行排序。
template<typename Key> SharedPtr<Linq::IOrderedEnumerable<T>> System::Collections::Generic::IEnumerable<T>::LINQ_OrderBy(const Func<T, Key> &keySelector)
| 参数 | 描述 |
|---|---|
| keySelector | 从元素中提取键的函数。 |
ReturnValue
一个 IOrderedEnumerable,其元素根据键进行排序
另见
- Typedef SharedPtr
- Class IOrderedEnumerable
- Class Func
- Class IEnumerable
- Namespace System::Collections::Generic
- Library Aspose.Font for C++