Share via


StartingRecord Property

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Gets or sets the starting record to return from the search.

Namespace:  Microsoft.CommerceServer.Catalog
Assembly:  Microsoft.CommerceServer.Catalog (in Microsoft.CommerceServer.Catalog.dll)

Syntax

'Declaration
Public Property StartingRecord As Integer
'Usage
Dim instance As CommonSearchOptions
Dim value As Integer

value = instance.StartingRecord

instance.StartingRecord = value
public int StartingRecord { get; set; }
public:
property int StartingRecord {
    int get ();
    void set (int value);
}
public function get StartingRecord () : int
public function set StartingRecord (value : int)

Property Value

Type: System..::.Int32
The record number of the first record to return.

Exceptions

Exception Condition
ArgumentOutOfRangeException

The supplied value is less than 1.

Remarks

The first record is record number one (1). You can set this property to page through the search results.

Permissions

See Also

Reference

CommonSearchOptions Class

CommonSearchOptions Members

Microsoft.CommerceServer.Catalog Namespace