|
ProcessQueueTFindLast Method
|
Searches for an element that matches the conditions defined by the specified predicate, and returns the last occurrence within the entire
ProcessQueueT.
Namespace: GSF.CollectionsAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.207-beta+1781b796b2aa7a54013a031eb432fe4ccee31867
Syntax public virtual T FindLast(
Predicate<T> match
)
Public Overridable Function FindLast (
match As Predicate(Of T)
) As T
public:
virtual T FindLast(
Predicate<T>^ match
)
abstract FindLast :
match : Predicate<'T> -> 'T
override FindLast :
match : Predicate<'T> -> 'T
function FindLast(match);
View SourceParameters
- match PredicateT
- The Predicate delegate that defines the conditions of the element to search for.
Return Value
TThe last element that matches the conditions defined by the specified predicate, if found; otherwise, the default value for type T.
Exceptions See Also