Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Gets or sets the number of records to return from the search.
Namespace: Microsoft.CommerceServer.Catalog
Assembly: Microsoft.CommerceServer.Catalog (in Microsoft.CommerceServer.Catalog.dll)
Syntax
'Declaration
Public Property RecordsToRetrieve As Integer
'Usage
Dim instance As CommonSearchOptions
Dim value As Integer
value = instance.RecordsToRetrieve
instance.RecordsToRetrieve = value
public int RecordsToRetrieve { get; set; }
public:
property int RecordsToRetrieve {
int get ();
void set (int value);
}
public function get RecordsToRetrieve () : int
public function set RecordsToRetrieve (value : int)
Property Value
Type: System..::.Int32
The number of records to retrieve.
Exceptions
Exception | Condition |
---|---|
ArgumentOutOfRangeException | The supplied value is less than -1. |
Remarks
A value of -1 indicates that RecordsToRetrieve should get or set all records. The first record is record number one (1). You can set this property to page through the search results.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.