Sdílet prostřednictvím


DefinitionCollection<T>.IndexOf(T) Method

Definition

Returns the index of the first occurrence of item in this DefinitionCollection<T>.

public int IndexOf (T item);
abstract member IndexOf : 'T -> int
override this.IndexOf : 'T -> int

Parameters

item
T

The IDefinition instance to find.

Returns

System.Int32

Implements

System.Collections.Generic.IList`1.IndexOf(`0)

Applies to