Compartilhar via


PageResult<T>.Create Method

Definition

Create a PageResult<T> from the provided parameters.

public static System.ClientModel.PageResult<T> Create (System.Collections.Generic.IReadOnlyList<T> values, System.ClientModel.ContinuationToken pageToken, System.ClientModel.ContinuationToken? nextPageToken, System.ClientModel.Primitives.PipelineResponse response);
static member Create : System.Collections.Generic.IReadOnlyList<'T> * System.ClientModel.ContinuationToken * System.ClientModel.ContinuationToken * System.ClientModel.Primitives.PipelineResponse -> System.ClientModel.PageResult<'T>
Public Shared Function Create (values As IReadOnlyList(Of T), pageToken As ContinuationToken, nextPageToken As ContinuationToken, response As PipelineResponse) As PageResult(Of T)

Parameters

values
IReadOnlyList<T>

The values in the PageResult<T>.

pageToken
ContinuationToken

A token that can be used to request a collection beginning with this page of values.

nextPageToken
ContinuationToken

A token that can be used to request a collection beginning with the next page of values.

response
PipelineResponse

The response that returned the values in the page.

Returns

A PageResult<T> holding the provided values.

Applies to