Freigeben über


IQueryable.ElementType Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets the type of the element(s) that are returned when the expression tree associated with this instance of IQueryable is executed.

Namespace:  System.Linq
Assembly:  System.Core (in System.Core.dll)

Syntax

'Declaration
ReadOnly Property ElementType As Type
Type ElementType { get; }

Property Value

Type: System.Type
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).

Version Information

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.