Redigera

Dela via


TemplateGroupCollection.IList.IndexOf(Object) Method

Definition

For a description of this member, see 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

Parameters

o
Object

The TemplateGroup to locate within the collection.

Returns

The zero-based index of the first occurrence of o within the collection; otherwise, -1, if o is not in the collection.

Implements

Remarks

This member is an explicit interface member implementation. It can be used only when the TemplateGroupCollection instance is cast to an IList interface.

Applies to

See also