ObjectQuery.IQueryable.ElementType 屬性

定義

取得這個查詢執行個體的結果項目型別。Gets the result element type for this query instance.

property Type ^ System::Linq::IQueryable::ElementType { Type ^ get(); };
Type System.Linq.IQueryable.ElementType { get; }
member this.System.Linq.IQueryable.ElementType : Type
 ReadOnly Property ElementType As Type Implements IQueryable.ElementType

屬性值

Type

Type,它是這個查詢執行個體的結果項目型別。A Type that is the result element type for this query instance.

實作

備註

這個成員是明確介面成員實作,This member is an explicit interface member implementation. 只有在 ObjectQuery<T> 執行個體轉換成 IListSource 介面時,才能使用這個成員。It can be used only when the ObjectQuery<T> instance is cast to an IListSource interface.

適用於