DataServiceQuery<TElement>.Expand(String) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
在回傳查詢產生的 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 上。