Duration (Pacific Standard Time):
To (Pacific Standard Time):
  • None
User Action:
  • None

DataServiceQuery<TElement>.Expand Method (String)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Creates a new DataServiceQuery<TElement> with the expand option set in the URI generated by the returned query.

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

Public Function Expand (
	path As String
) As DataServiceQuery(Of TElement)


Type: System.String

A string value that contains the requesting URI.

Return Value

Type: System.Data.Services.Client.DataServiceQuery<TElement>

A new query that includes the requested $expand query option appended to the URI of the supplied query.

.NET Framework
Available since 3.5
Available since 2.0
Return to top