語言

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 的字串值。

傳回

新增一個包含請求 $expand 查詢選項的新查詢,並附加在所提供查詢的 URI 上。

適用於