Share via


Query.StartRow property

NOTE: This API is now obsolete.

Gets or sets the first row of information from the search results.

Namespace:  Microsoft.SharePoint.Search.Query
Assembly:  Microsoft.SharePoint.Search (in Microsoft.SharePoint.Search.dll)

Syntax

'Declaration
<ObsoleteAttribute("This class is obsolete.")> _
Public Property StartRow As Integer
    Get
    Set
'Usage
Dim instance As Query
Dim value As Integer

value = instance.StartRow

instance.StartRow = value
[ObsoleteAttribute("This class is obsolete.")]
public int StartRow { get; set; }

Property value

Type: System.Int32
A 32-bit integer that represents the index number of the row. The default value is 1.

Remarks

This value is typically used for implementing paging controls. Assuming that the complete set of search results is consistently ranked according to the specified sort criteria of the query, and that each result in the sorted list is assigned a rank order, this property specifies the rank of the first result to return.

See also

Reference

Query class

Query members

Microsoft.SharePoint.Search.Query namespace