QueryOperationResponse.GetContinuation 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取一个对象,该对象包含用于检索下一 DataServiceQueryContinuation 个结果页的 URI。
重载
| 名称 | 说明 |
|---|---|
| GetContinuation() |
获取一个对象,该对象包含用于检索下一 DataServiceQueryContinuation 个结果页的 URI。 |
| GetContinuation(IEnumerable) |
获取一个 DataServiceQueryContinuation 对象,该对象包含用于检索指定集合中相关实体的下一页的 URI。 |
| GetContinuation<T>(IEnumerable<T>) |
获取一个 DataServiceQueryContinuation<T> 对象,该对象包含用于检索指定集合中相关实体的下一页的 URI。 |
GetContinuation()
获取一个对象,该对象包含用于检索下一 DataServiceQueryContinuation 个结果页的 URI。
public:
System::Data::Services::Client::DataServiceQueryContinuation ^ GetContinuation();
public System.Data.Services.Client.DataServiceQueryContinuation GetContinuation();
member this.GetContinuation : unit -> System.Data.Services.Client.DataServiceQueryContinuation
Public Function GetContinuation () As DataServiceQueryContinuation
返回
包含用于返回下一个结果页的 URI 的对象。
适用于
GetContinuation(IEnumerable)
获取一个 DataServiceQueryContinuation 对象,该对象包含用于检索指定集合中相关实体的下一页的 URI。
public:
System::Data::Services::Client::DataServiceQueryContinuation ^ GetContinuation(System::Collections::IEnumerable ^ collection);
public System.Data.Services.Client.DataServiceQueryContinuation GetContinuation(System.Collections.IEnumerable collection);
member this.GetContinuation : System.Collections.IEnumerable -> System.Data.Services.Client.DataServiceQueryContinuation
Public Function GetContinuation (collection As IEnumerable) As DataServiceQueryContinuation
参数
- collection
- IEnumerable
正在加载的相关对象的集合。
返回
指向集合下一页的延续对象。
注解
该方法 GetContinuation 用于获取 URI,该 URI 用于检索嵌套结果的下一个结果页。
指定 null 集合是顶级集合时的值 collection 。
适用于
GetContinuation<T>(IEnumerable<T>)
获取一个 DataServiceQueryContinuation<T> 对象,该对象包含用于检索指定集合中相关实体的下一页的 URI。
public:
generic <typename T>
System::Data::Services::Client::DataServiceQueryContinuation<T> ^ GetContinuation(System::Collections::Generic::IEnumerable<T> ^ collection);
public System.Data.Services.Client.DataServiceQueryContinuation<T> GetContinuation<T>(System.Collections.Generic.IEnumerable<T> collection);
member this.GetContinuation : seq<'T> -> System.Data.Services.Client.DataServiceQueryContinuation<'T>
Public Function GetContinuation(Of T) (collection As IEnumerable(Of T)) As DataServiceQueryContinuation(Of T)
类型参数
- T
集合中项的类型。
参数
- collection
- IEnumerable<T>
正在加载的相关对象的集合。
返回
指向集合下一页的延续对象。