| RankedMapTKey, TValueIndexOfValue Method |
Gets the index of the first element with the supplied value.
Namespace:
Kaos.Collections
Assembly:
KaosCollections (in KaosCollections.dll) Version: 4.2.0.0
Syntax public int IndexOfValue(
TValue value
)
Parameters
- value
- Type: TValue
The value of the element to seek.
Return Value
Type:
Int32The index of the element if found; otherwise -1.
Remarks This is a O(n) operation.
See Also