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
- url
Type: System.Uri
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 |