IQueryable.ElementType Property

Definition

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

Property Value

A Type that represents the type of the element(s) that are returned when the expression tree associated with this object is executed.

Remarks

The ElementType property represents the "T" in IQueryable<T> or IQueryable(Of T).

Applies to