次の方法で共有


UserSegmentCollection.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 UserSegment
    Get
'Usage
Dim instance As UserSegmentCollection
Dim id As Guid
Dim value As UserSegment

value = instance(id)
public UserSegment this[
    Guid id
] { get; }

Parameters

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

See also

Reference

UserSegmentCollection class

UserSegmentCollection members

Item overload

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