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.