CollectionBaseTIndexOf Method
|
Searches for the specified object and returns the zero-based index of the first occurrence within the entire list.
Namespace:
Bootstrap.A11y
Assembly:
Bootstrap.A11y (in Bootstrap.A11y.dll) Version: 1.1.0.0 (1.1.0.0)
Syntaxpublic int IndexOf(
T item
)
Parameters
- item
- Type: T
The object to locate in the list.
Return Value
Type:
Int32The zero-based index of the first occurrence of
item within the entire list, if found; otherwise, –1.
See Also