TypedTableBaseExtensions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Contains the extension methods for the TypedTableBase<T> class.
public ref class TypedTableBaseExtensions abstract sealed
public static class TypedTableBaseExtensions
type TypedTableBaseExtensions = class
Public Module TypedTableBaseExtensions
- Inheritance
-
TypedTableBaseExtensions
Remarks
The class contains static extension methods that define the AsEnumerable method and standard query operations for typed data sets.
This class cannot be instantiated.
Methods
AsEnumerable<TRow>(TypedTableBase<TRow>) |
Enumerates the data row elements of the TypedTableBase<T> and returns an EnumerableRowCollection<TRow> object, where the generic parameter |
ElementAtOrDefault<TRow>(TypedTableBase<TRow>, Int32) |
Returns the element at a specified row in a sequence or a default value if the row is out of range. |
OrderBy<TRow,TKey>(TypedTableBase<TRow>, Func<TRow,TKey>) |
Sorts the rows of a TypedTableBase<T> in ascending order according to the specified key. |
OrderBy<TRow,TKey>(TypedTableBase<TRow>, Func<TRow,TKey>, IComparer<TKey>) |
Sorts the rows of a TypedTableBase<T> in ascending order according to the specified key and comparer. |
OrderByDescending<TRow,TKey>(TypedTableBase<TRow>, Func<TRow,TKey>) |
Sorts the rows of a TypedTableBase<T> in descending order according to the specified key. |
OrderByDescending<TRow,TKey>(TypedTableBase<TRow>, Func<TRow,TKey>, IComparer<TKey>) |
Sorts the rows of a TypedTableBase<T> in descending order according to the specified key and comparer. |
Select<TRow,S>(TypedTableBase<TRow>, Func<TRow,S>) |
Projects each element of a TypedTableBase<T> into a new form. |
Where<TRow>(TypedTableBase<TRow>, Func<TRow,Boolean>) |
Filters a sequence of rows based on the specified predicate. |
Applies to
See also
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈