共用方式為


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。

適用於