语言

DataServiceQuery<TElement>.Expand(String) 方法

定义

使用返回的查询生成的 URI 中的展开选项集创建一个新 DataServiceQuery<TElement> 选项。

public:
 System::Data::Services::Client::DataServiceQuery<TElement> ^ Expand(System::String ^ path);
public System.Data.Services.Client.DataServiceQuery<TElement> Expand(string path);
member this.Expand : string -> System.Data.Services.Client.DataServiceQuery<'Element>
Public Function Expand (path As String) As DataServiceQuery(Of TElement)

参数

path
String

一个包含请求 URI 的字符串值。

返回

包含追加到所提供查询 URI 的请求 $expand 查询选项的新查询。

适用于