CircularListTIndexOf(T, Int32) Method
Searches for the specified object and returns the zero-based index of the first occurrence within the range
of elements in the
CircularListT that extends from the specified index to the last element.
Namespace: KGySoft.CollectionsAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.5.0
public int IndexOf(
T item,
int index
)
Public Function IndexOf (
item As T,
index As Integer
) As Integer
public:
int IndexOf(
T item,
int index
)
member IndexOf :
item : 'T *
index : int -> int
- item T
- The object to locate in the CircularListT.
- index Int32
- The zero-based starting index of the search.
Int32
The zero-based index of the first occurrence of item within the range of elements in the
CircularListT
that extends from index to the last element, if found; otherwise, –1.