PagingInfo Class

 

Applies To: Dynamics CRM 2015

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

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 = "http://schemas.microsoft.com/xrm/2011/Contracts")]
public sealed class PagingInfo : IExtensibleDataObject
[DataContractAttribute(Name = "PagingInfo", Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")]
public ref class PagingInfo sealed : IExtensibleDataObject
[<Sealed>]
[<DataContractAttribute(Name = "PagingInfo", Namespace = "http://schemas.microsoft.com/xrm/2011/Contracts")>]
type PagingInfo = 
    class
        interface IExtensibleDataObject
    end
<DataContractAttribute(Name := "PagingInfo", Namespace := "http://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

© 2016 Microsoft. All rights reserved. Copyright