Compartilhar via


OrderedCollectionBase<T>.IndexOf method

Determina a posição do item na coleção.

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

Syntax

'Declaração
Public Function IndexOf ( _
    item As T _
) As Integer
'Uso
Dim instance As OrderedCollectionBase
Dim item As T
Dim returnValue As Integer

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

Parâmetros

  • item
    Type: T

Valor retornado

Type: System.Int32

Ver também

Referência

OrderedCollectionBase<T> class

OrderedCollectionBase<T> members

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