SwissArmyLib
SwissArmyLib
Archon.SwissArmyLib.Collections
PrioritizedList(T) Class
PrioritizedList(T) Methods
IndexOf Method
IndexOf Method (T)
IndexOf Method (PrioritizedItem(T))
PrioritizedList
T
IndexOf Method (PrioritizedItem
T
)
Gets the index of a prioritized item in the list.
Namespace:
Archon.SwissArmyLib.Collections
Assembly:
Archon.SwissArmyLib (in Archon.SwissArmyLib.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
Copy
public
int
IndexOf
(
PrioritizedItem
<T>
item
)
Request Example
View Source
Parameters
item
Type:
Archon.SwissArmyLib.Collections
PrioritizedItem
T
The item to get the index for.
Return Value
Type:
Int32
The index of the item in the list or -1 if not found.
Implements
IList
T
IndexOf(T)
See Also
Reference
PrioritizedList
T
Class
IndexOf Overload
Archon.SwissArmyLib.Collections Namespace