Method SetItemIndex
- Namespace
- Alternet.Base.Collections
- Assembly
- Alternet.UI.Common.dll
SetItemIndex(T, int)
Sets the index of the specified item in the collection.
public virtual void SetItemIndex(T item, int newIndex)
Parameters
item
TThe item to search for.
newIndex
intThe new index value of the item.
Remarks
If newIndex
= -1, moves to the end of the collection.
Exceptions
- ArgumentException
The item is not in the collection.