語言

CommandBindingCollection.IList.IndexOf(Object) 方法

定義

關於此成員的描述,請參見 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

Object在 中尋找 CommandBindingCollection。

傳回

如果在列表中找到,則為 的 value 索引;否則,為 -1。

實作

備註

此成員為明確介面成員實作。 它只能在實 CommandBindingCollection 例投射到 IList 介面時使用。

適用於

另請參閱