CollectionChangedHandlerTItem, TCollectionIndexOf Method |
Gets the index of the specified item
Namespace:
Eto
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntax public virtual int IndexOf(
TItem item
)
Public Overridable Function IndexOf (
item As TItem
) As Integer
abstract IndexOf :
item : 'TItem -> int
override IndexOf :
item : 'TItem -> int
Parameters
- item
- Type: TItem
Item to find the index of
Return Value
Type:
Int32Index of the item if contained in the collection, otherwise -1
See Also