 | CondensedCollectionTIndexOf Method |
[This is preliminary documentation and is subject to change.]
Searches for the specified object and returns the zero-based index of the first occurrence within the collection.
Namespace:
Condensed
Assembly:
Condensed (in Condensed.dll) Version: 0.1.0.0 (0.1.0.0)
Syntaxpublic int IndexOf(
T item
)
Public Function IndexOf (
item As T
) As Integer
public:
virtual int IndexOf(
T item
) sealed
abstract IndexOf :
item : 'T -> int
override IndexOf :
item : 'T -> int Parameters
- item
- Type: T
The object to locate in the collection. The value can be null for reference types.
Return Value
Type:
Int32The zero-based index of the first occurrence of item within the collection, if found; otherwise, -1.
Implements
IListTIndexOf(T)
See Also