.NET Framework Class Library
DataServiceQuery<(Of <(TElement>)>)..::.Expand Method

Creates a new DataServiceQuery<(Of <(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)
Syntax

Visual Basic (Declaration)
Public Function Expand ( _
    path As String _
) As DataServiceQuery(Of TElement)
Visual Basic (Usage)
Dim instance As DataServiceQuery
Dim path As String
Dim returnValue As DataServiceQuery(Of TElement)

returnValue = instance.Expand(path)
C#
public DataServiceQuery<TElement> Expand(
    string path
)
Visual C++
public:
DataServiceQuery<TElement>^ Expand(
    String^ path
)
JScript
public function Expand(
    path : String
) : DataServiceQuery<TElement>

Parameters

path
Type: System..::.String
A string value that contains the requesting URI.

Return Value

Type: System.Data.Services.Client..::.DataServiceQuery<(Of <(TElement>)>)
A new query that includes the requested $expand query option appended to the URI of the supplied query.
Platforms

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Version Information

.NET Framework

Supported in: 3.5 SP1
See Also

Reference

Other Resources

Tags :


Page view tracker