Method LastIndexOf
LastIndexOf(T)
Searches for an item in the tree going backwards from the end.
Declaration
public int LastIndexOf(T item)
Parameters
Type | Name | Description |
---|---|---|
T | item | Item to search for. |
Returns
Type | Description |
---|---|
System.Int32 | Index of last occurrence from the end of item if found, else the two-complement (always negative) of the index at which the item would be put if it was added. |