Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

DataServiceQuery<TElement>.ElementType Property

Returns the type of the object used in the template to create the DataServiceQuery<TElement> instance.

Namespace:  System.Data.Services.Client
Assembly:  Microsoft.Data.Services.Client (in Microsoft.Data.Services.Client.dll)

public override Type ElementType { get; }

Property Value

Type: System.Type
Returns Type representing the type used in the template when the query is created.



Gets the type represented by T in the generic methods: CreateQuery``1(Uri) or CreateQuery<T>.

© 2015 Microsoft