SiteMapNodeCollection.IList.IndexOf(Object) 方法

定義

判斷 IList 介面所傳回之集合中特定項目的索引。 如需這個成員的說明,請參閱 IndexOf(Object)

 virtual int System.Collections.IList.IndexOf(System::Object ^ value) = System::Collections::IList::IndexOf;
int IList.IndexOf (object value);
abstract member System.Collections.IList.IndexOf : obj -> int
override this.System.Collections.IList.IndexOf : obj -> int
Function IndexOf (value As Object) As Integer Implements IList.IndexOf

參數

value
Object

要在 IList 中尋找的物件。

傳回

Int32

如果找到的話,則為清單中值的索引,否則為 -1。

實作

適用於

另請參閱