QueryExpression.PageInfo Property

Definition

Gets or sets the number of pages and the number of records per page to return from the query.

public:
 property Microsoft::Xrm::Sdk::Query::PagingInfo ^ PageInfo { Microsoft::Xrm::Sdk::Query::PagingInfo ^ get(); void set(Microsoft::Xrm::Sdk::Query::PagingInfo ^ value); };
[System.Runtime.Serialization.DataMember]
public Microsoft.Xrm.Sdk.Query.PagingInfo PageInfo { get; set; }
[<System.Runtime.Serialization.DataMember>]
member this.PageInfo : Microsoft.Xrm.Sdk.Query.PagingInfo with get, set
Public Property PageInfo As PagingInfo

Property Value

The number of pages and the number of records 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.

Attributes

Applies to