Delen via


DisposableCollection<T>.IndexOf Method

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
Public Function IndexOf ( _
    item As T _
) As Integer
public int IndexOf(
    T item
)
public:
virtual int IndexOf(
    T item
) sealed
abstract IndexOf : 
        item:'T -> int  
override IndexOf : 
        item:'T -> int
public final function IndexOf(
    item : T
) : int

Parameters

  • item
    Type: T

Return Value

Type: System.Int32
Returns Int32.

Implements

IList<T>.IndexOf(T)

.NET Framework Security

See Also

Reference

DisposableCollection<T> Class

Microsoft.TeamFoundation.Framework.Server Namespace