Share via


UserSegmentTermCollection.IndexOf method

Determines the position of the item in the collection.

Namespace:  Microsoft.Office.Server.Search.Query.Rules
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
Public Function IndexOf ( _
    item As Guid _
) As Integer
'Usage
Dim instance As UserSegmentTermCollection
Dim item As Guid
Dim returnValue As Integer

returnValue = instance.IndexOf(item)
public int IndexOf(
    Guid item
)

Parameters

Return value

Type: System.Int32

See also

Reference

UserSegmentTermCollection class

UserSegmentTermCollection members

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