TemplateGroupCollection.IList.IndexOf(Object) 方法

定义

有关此成员的说明,请参见 IndexOf(Object)

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

参数

o
Object

要在集合中定位的 TemplateGroup

返回

Int32

集合中 o 的第一个匹配项的索引(索引从零开始);否则,如果 o 不在集合中,则为 -1。

实现

注解

此成员是显式接口成员的实现。 它只能在 TemplateGroupCollection 实例被强制转换为 IList 接口时使用。

适用于

另请参阅