Partager via


PagingInfo Class

 

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

Specifies a number of pages and a number of entity instances per page to return from the query.

For the Web API the corresponding type is PagingInfo ComplexType.

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

Inheritance Hierarchy

System.Object
  Microsoft.Xrm.Sdk.Query.PagingInfo

Syntax

[DataContractAttribute(Name = "PagingInfo", Namespace = "https://schemas.microsoft.com/xrm/2011/Contracts")]
public sealed class PagingInfo : IExtensibleDataObject
<DataContractAttribute(Name := "PagingInfo", Namespace := "https://schemas.microsoft.com/xrm/2011/Contracts")>
Public NotInheritable Class PagingInfo
    Implements IExtensibleDataObject

Constructors

Name Description
System_CAPS_pubmethod PagingInfo()

Initializes a new instance of the PagingInfo class.

Properties

Name Description
System_CAPS_pubproperty Count

Gets or sets the number of entity instances returned per page.

System_CAPS_pubproperty ExtensionData

Gets or sets the structure that contains extra data.

System_CAPS_pubproperty PageNumber

Gets or sets the number of pages returned from the query.

System_CAPS_pubproperty PagingCookie

Gets or sets the info used to page large result sets.

System_CAPS_pubproperty ReturnTotalRecordCount

Sets whether the total number of records should be returned from the query.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Thread Safety

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

PagingInfo
Microsoft.Xrm.Sdk.Query Namespace
Page large result sets with QueryExpression
Sample: Use FetchXML with a paging cookie

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright