TypedTableBaseExtensions クラス

定義

TypedTableBase<T> クラスの拡張メソッドを格納します。

public ref class TypedTableBaseExtensions abstract sealed
public static class TypedTableBaseExtensions
type TypedTableBaseExtensions = class
Public Module TypedTableBaseExtensions
継承
TypedTableBaseExtensions

注釈

クラスには、型指定されたデータ セットのメソッドと標準クエリ操作を AsEnumerable 定義する静的拡張メソッドが含まれています。

このクラスはインスタンス化できません。

メソッド

AsEnumerable<TRow>(TypedTableBase<TRow>)

TypedTableBase<T> のデータ行要素を列挙し、EnumerableRowCollection<TRow> オブジェクトを返します。ここで、ジェネリック パラメーター TDataRow です。 このオブジェクトは、LINQ 式またはメソッド クエリで使用できます。

ElementAtOrDefault<TRow>(TypedTableBase<TRow>, Int32)

シーケンス内の指定された行にある要素を返します。行が範囲外の場合は既定値を返します。

OrderBy<TRow,TKey>(TypedTableBase<TRow>, Func<TRow,TKey>)

TypedTableBase<T> の行を指定したキーに従って昇順に並べ替えます。

OrderBy<TRow,TKey>(TypedTableBase<TRow>, Func<TRow,TKey>, IComparer<TKey>)

TypedTableBase<T> の行を指定したキーと比較子に従って昇順に並べ替えます。

OrderByDescending<TRow,TKey>(TypedTableBase<TRow>, Func<TRow,TKey>)

TypedTableBase<T> の行を指定したキーに従って降順に並べ替えます。

OrderByDescending<TRow,TKey>(TypedTableBase<TRow>, Func<TRow,TKey>, IComparer<TKey>)

TypedTableBase<T> の行を指定したキーと比較子に従って降順に並べ替えます。

Select<TRow,S>(TypedTableBase<TRow>, Func<TRow,S>)

TypedTableBase<T> の各要素を新しいフォームに射影します。

Where<TRow>(TypedTableBase<TRow>, Func<TRow,Boolean>)

指定した述語に基づいて行のシーケンスをフィルター処理します。

適用対象

こちらもご覧ください