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>.Expand Method

Creates a new DataServiceQuery<TElement> that includes the expand option in the URI that is generated by the returned query.

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

public DataServiceQuery<TElement> Expand(
	string path


Type: System.String
A string value that enumerates the related entities to include in the query.

Return Value

Type: System.Data.Services.Client.DataServiceQuery<TElement>
A query instance that includes the expand path.


Supported in: 5, 4, 3

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

Community Additions

© 2015 Microsoft