Partager via


QueryResultBase.IsBestBet, méthode (Microsoft.SharePoint.Portal.WebControls)

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

Espace de noms : Microsoft.SharePoint.Portal.WebControls
Assembly : Microsoft.SharePoint.Portal (dans microsoft.sharepoint.portal.dll)

Syntaxe

'Déclaration
Protected Overridable Function IsBestBet ( _
    objectDataRow As DataRow _
) As Boolean
'Utilisation
Dim objectDataRow As DataRow
Dim returnValue As Boolean

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

Paramètres

  • objectDataRow
    DataRow that represents one result in the result set.

Valeur de retour

true if the specified search result is a Best Bet; otherwise, false.

Remarques

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

Voir aussi

Référence

QueryResultBase, classe
Membres QueryResultBase
Microsoft.SharePoint.Portal.WebControls, espace de noms