你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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