KGy SOFT

VirtualCollectionTIndexOf Method

KGy SOFT Core Libraries Help
Searches for the specified object and returns the zero-based index of an occurrence within the entire VirtualCollectionT.
Calls the overridable GetItemIndex method.

Namespace:  KGySoft.Collections.ObjectModel
Assembly:  KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 5.0.0-rc.1
Syntax

public int IndexOf(
	T item
)

Parameters

item
Type: T
The object to locate in the VirtualCollectionT. The value can be  for reference types.

Return Value

Type: Int32
The zero-based index of the found occurrence of item within the entire VirtualCollectionT, if found; otherwise, -1.

Implements

IListTIndexOf(T)
See Also

Reference