CatalogSearchOptions.SetPaging (Int32, Int32) Method (BCL)

Use this method to set the StartingRecord and RecordsToRetrieve properties based on the supplied page number and page size.

Definition

[Visual Basic .NET]

Public Sub SetPaging( _ByValpageNumber As System.Int32, _
  ByValpageSize As System.Int32 _
) 

[C#]

public void SetPaging(System.Int32pageNumber,
  System.Int32pageSize);

Parameters

[Visual Basic .NET]

  • pageNumber
    The page number. Must be greater than or equal to one.
  • pageSize
    The page size. Must be greater than or equal to one.

[C#]

  • pageNumber
    The page number. Must be greater than or equal to one.
  • pageSize
    The page size. Must be greater than or equal to one.

Remarks

Throws an ArgumentOutOfRangeException if the supplied parameters are out of the valid range.

Requirements

Namespace: Microsoft.CommerceServer.Runtime.Catalog

Platforms: Windows 2000, Windows Server 2003

Assembly: Microsoft.CommerceServer.Runtime.dll

Copyright © 2005 Microsoft Corporation.
All rights reserved.