LinkedList(Of T).FindLast Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Finds the last node that contains the specified value.
Assembly: System (in System.dll)
Parameters
- value
- Type: T
The value to locate in the LinkedList(Of T).
Return Value
Type: System.Collections.Generic.LinkedListNode(Of T)The last LinkedListNode(Of T) that contains the specified value, if found; otherwise, Nothing.
The LinkedList(Of T) is searched backward starting at Last and ending at First.
This method performs a linear search; therefore, this method is an O(n) operation, where n is Count.
Show: