다음을 통해 공유


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 네임스페이스