VirtualCollectionTIndexOf Method
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.ObjectModelAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 9.0.0-preview.1
public 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
- item T
- The object to locate in the VirtualCollectionT. The value can be for reference types.
Int32The zero-based index of the found occurrence of
item within the entire
VirtualCollectionT, if found; otherwise,
-1.
IListTIndexOf(T)