CircularListTLastIndexOf(T, Int32, Int32) Method
Searches for the specified object and returns the zero-based index of the last occurrence within the range of elements in the
CircularListT that
contains the specified number of elements and ends at the specified
index.
Namespace: KGySoft.CollectionsAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.5.0
public int LastIndexOf(
T item,
int index,
int count
)
Public Function LastIndexOf (
item As T,
index As Integer,
count As Integer
) As Integer
public:
int LastIndexOf(
T item,
int index,
int count
)
member LastIndexOf :
item : 'T *
index : int *
count : int -> int
- item T
- The object to locate in the CircularListT.
- index Int32
- The zero-based starting index of the backward search.
- count Int32
- The number of elements in the section to search.
Int32
The zero-based index of the last occurrence of
item within the range of elements in the list that contains
count number of elements and ends at
item, if found; otherwise, –1.