DefinitionCollection<T>.IndexOf(T) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)