Share via


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.SharePoint.Portal (in Microsoft.SharePoint.Portal.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
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