BestBetCollection.Item property (Uri)

Gets a best bet by its Url.

Namespace:  Microsoft.Office.Server.Search.Query.Rules
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    url As Uri _
) As BestBet
    Get
'Usage
Dim instance As BestBetCollection
Dim url As Uri
Dim value As BestBet

value = instance(url)
public BestBet this[
    Uri url
] { get; }

Parameters

Property value

Type: Microsoft.Office.Server.Search.Query.Rules.BestBet

Exceptions

Exception Condition
ArgumentException

Thrown when the best bet doesn't exist in the collection

See also

Reference

BestBetCollection class

BestBetCollection members

Item overload

Microsoft.Office.Server.Search.Query.Rules namespace