QueryResultBase.IsBestBet Method

The IsBestBet method of the QueryResultBase class gets a flag that indicates whether the specified search result is a Best Bet.

Namespace:  Microsoft.SharePoint.Portal.WebControls
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
Protected Overridable Function IsBestBet ( _
    objectDataRow As DataRow _
) As Boolean
'Usage
Dim objectDataRow As DataRow
Dim returnValue As Boolean

returnValue = Me.IsBestBet(objectDataRow)
protected virtual bool IsBestBet(
    DataRow objectDataRow
)

Parameters

  • objectDataRow
    Type: System.Data.DataRow

    DataRow that represents one result in the result set.

Return Value

Type: System.Boolean
A Boolean value; true if the specified search result is a Best Bet; otherwise, false.

Remarks

The IsBestBet method checks the properties of the specified item in the property table.

See Also

Reference

QueryResultBase Class

QueryResultBase Members

Microsoft.SharePoint.Portal.WebControls Namespace