EnumerableQuery<T> 建構函式

定義

初始化 EnumerableQuery<T> 類別的新執行個體。Initializes a new instance of the EnumerableQuery<T> class.

多載

EnumerableQuery<T>(IEnumerable<T>)

初始化 EnumerableQuery<T> 類別的新執行個體,並使其與 IEnumerable<T> 集合產生關聯。Initializes a new instance of the EnumerableQuery<T> class and associates it with an IEnumerable<T> collection.

EnumerableQuery<T>(Expression)

初始化 EnumerableQuery<T> 類別的新執行個體,並使其與運算式樹狀架構產生關聯。Initializes a new instance of the EnumerableQuery<T> class and associates the instance with an expression tree.

EnumerableQuery<T>(IEnumerable<T>)

初始化 EnumerableQuery<T> 類別的新執行個體,並使其與 IEnumerable<T> 集合產生關聯。Initializes a new instance of the EnumerableQuery<T> class and associates it with an IEnumerable<T> collection.

public:
 EnumerableQuery(System::Collections::Generic::IEnumerable<T> ^ enumerable);
public EnumerableQuery (System.Collections.Generic.IEnumerable<T> enumerable);
new System.Linq.EnumerableQuery<'T> : seq<'T> -> System.Linq.EnumerableQuery<'T>
Public Sub New (enumerable As IEnumerable(Of T))

參數

enumerable
IEnumerable<T>

與新執行個體關聯的集合。A collection to associate with the new instance.

EnumerableQuery<T>(Expression)

初始化 EnumerableQuery<T> 類別的新執行個體,並使其與運算式樹狀架構產生關聯。Initializes a new instance of the EnumerableQuery<T> class and associates the instance with an expression tree.

public:
 EnumerableQuery(System::Linq::Expressions::Expression ^ expression);
public EnumerableQuery (System.Linq.Expressions.Expression expression);
new System.Linq.EnumerableQuery<'T> : System.Linq.Expressions.Expression -> System.Linq.EnumerableQuery<'T>

參數

expression
Expression

與新執行個體關聯的運算式樹狀架構。An expression tree to associate with the new instance.

適用於