共用方式為


QueryRequestOptions.MaxItemCount Property

Definition

Gets or sets the maximum number of items to be returned in the enumeration operation in the Azure Cosmos DB service.

public int? MaxItemCount { get; set; }
member this.MaxItemCount : Nullable<int> with get, set
Public Property MaxItemCount As Nullable(Of Integer)

Property Value

The maximum number of items to be returned in the enumeration operation.

Remarks

Used for query pagination. '-1' Used for dynamic page size. This is a maximum. Query can return 0 items in the page.

Applies to