Споделяне чрез


QueryByAttribute.PageInfo Property

 

Applies To: Dynamics CRM 2015

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; }
public:
[DataMemberAttribute]
property PagingInfo^ PageInfo {
    PagingInfo^ get();
    void set(PagingInfo^ value);
}
[<DataMemberAttribute>]
member PageInfo : PagingInfo with 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

© 2016 Microsoft. All rights reserved. Copyright