|
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.218-beta+101eee949414e414795e55a6e73d88938f0177b8
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