BestBetCollection.Item property (Guid)

Gets a best bet by its Id.

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 ( _
    id As Guid _
) As BestBet
    Get
'Usage
Dim instance As BestBetCollection
Dim id As Guid
Dim value As BestBet

value = instance(id)
public BestBet this[
    Guid id
] { 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