Share via


QueryByAttribute.PageInfo Property

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Gets or sets the number of pages and the number of entity instances per page returned from the query.

Namespace:   Microsoft.Xrm.Sdk.Query
Assembly:  Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)

Syntax

[DataMemberAttribute]
public PagingInfo PageInfo { get; set; }
<DataMemberAttribute>
Public Property PageInfo As PagingInfo

Property Value

Type: Microsoft.Xrm.Sdk.Query.PagingInfo

Type: PagingInfo
The number of pages and the number of entity instances per page returned from the query.

A query can contain either PageInfo or TopCount property values. If both are specified, an error will be thrown.

See Also

QueryByAttribute Class
Microsoft.Xrm.Sdk.Query Namespace
Using a paging cookie with QueryExpression

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright