UserSegmentCollection.Item property (String)
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 ( _
displayNames As String _
) As UserSegment
Get
'Usage
Dim instance As UserSegmentCollection
Dim displayNames As String
Dim value As UserSegment
value = instance(displayNames)
public UserSegment this[
string displayNames
] { get; }
Parameters
- displayNames
Type: System.String
Property value
Type: Microsoft.Office.Server.Search.Query.Rules.UserSegment
Exceptions
Exception | Condition |
---|---|
ArgumentException | Thrown when the best bet doesn't exist in the collection |