Метод ReadOnlyList<T>.IndexOf

Determines the index of a specific item in the list.

Пространство имен:  Microsoft.SqlServer.Management.Sdk.Sfc
Сборка:  Microsoft.SqlServer.Management.Sdk.Sfc (в Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Синтаксис

'Декларация
Public Function IndexOf ( _
    item As T _
) As Integer
'Применение
Dim instance As ReadOnlyList 
Dim item As T
Dim returnValue As Integer 

returnValue = instance.IndexOf(item)
public int IndexOf(
    T item
)
public:
int IndexOf(
    T item
)
member IndexOf : 
        item:'T -> int
public function IndexOf(
    item : T
) : int

Параметры

  • item
    Тип: T
    The object to locate in the list.

Возвращаемое значение

Тип: System.Int32
The index of a specific item in the list.

См. также

Справочник

ReadOnlyList<T> Структура

Пространство имен Microsoft.SqlServer.Management.Sdk.Sfc