IQueryable.ElementType 屬性

定義

取得與這個 IQueryable 執行個體關聯的運算式樹狀架構執行時,所傳回項目的型別。Gets the type of the element(s) that are returned when the expression tree associated with this instance of IQueryable is executed.

public:
 property Type ^ ElementType { Type ^ get(); };
public Type ElementType { get; }
member this.ElementType : Type
Public ReadOnly Property ElementType As Type

屬性值

Type

Type,表示與這個物件關聯的運算式樹狀架構執行時,所傳回項目的型別。A Type that represents the type of the element(s) that are returned when the expression tree associated with this object is executed.

備註

ElementType屬性代表或中的 "T" IQueryable<T> IQueryable(Of T)The ElementType property represents the "T" in IQueryable<T> or IQueryable(Of T).

適用於