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
- id
Type: System.Guid
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 |