PartialResultsCollection.IndexOf(Object) 方法

定义

该方法IndexOf(Object)返回第一个匹配项的Object从零开始的PartialResultsCollection索引。

public:
 int IndexOf(System::Object ^ value);
public int IndexOf(object value);
member this.IndexOf : obj -> int
Public Function IndexOf (value As Object) As Integer

参数

value
Object

Object为其返回索引。

返回

指定的 Object索引值(如果找到)或 -1 找不到指定的对象。

适用于