AssistantsModelFactory.PageableList<T> Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new instance of PageableListT
.
public static Azure.AI.OpenAI.Assistants.PageableList<T> PageableList<T>(System.Collections.Generic.IReadOnlyList<T> data, string firstId, string lastId, bool hasMore);
static member PageableList : System.Collections.Generic.IReadOnlyList<'T> * string * string * bool -> Azure.AI.OpenAI.Assistants.PageableList<'T>
Public Shared Function PageableList(Of T) (data As IReadOnlyList(Of T), firstId As String, lastId As String, hasMore As Boolean) As PageableList(Of T)
Type Parameters
- T
The data type of the listed items.
Parameters
- data
- IReadOnlyList<T>
The items for the list.
- firstId
- String
The ID of the first item in the list.
- lastId
- String
The ID of the last item in the list.
- hasMore
- Boolean
Whether more items not included in the list exist.
Returns
A new instance of PageableListT
.
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for .NET