OrderedCollectionBase<T>.IndexOf 方法
确定集合中的项的位置。
命名空间: Microsoft.Office.Server.Search.Query.Rules
程序集: Microsoft.Office.Server.Search(位于 Microsoft.Office.Server.Search.dll 中)
语法
声明
Public Function IndexOf ( _
item As T _
) As Integer
用法
Dim instance As OrderedCollectionBase
Dim item As T
Dim returnValue As Integer
returnValue = instance.IndexOf(item)
public int IndexOf(
T item
)
参数
- item
类型:T
返回值
类型:System.Int32