OrderedCollectionBase<T>.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 T _
) As Integer
'Usage
Dim instance As OrderedCollectionBase
Dim item As T
Dim returnValue As Integer

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

Parameters

  • item
    Type: T

Return value

Type: System.Int32

See also

Reference

OrderedCollectionBase<T> class

OrderedCollectionBase<T> members

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