[]
Searches for an T
that matches the specified type TTarget and matches the conditions defined by the specified predicate,
and returns the last occurrence within the entire collection.
public TTarget FindLast<TTarget>() where TTarget : T
Public Function FindLast(Of TTarget As T)() As TTarget
Type | Description |
---|---|
TTarget | The last |
Name | Description |
---|---|
TTarget |
Searches for an T
that matches the specified type TTarget and matches the conditions defined by the specified predicate,
and returns the last occurrence within the entire collection.
public TTarget FindLast<TTarget>(Predicate<TTarget> match) where TTarget : T
Public Function FindLast(Of TTarget As T)(match As Predicate(Of TTarget)) As TTarget
Type | Name | Description |
---|---|---|
Predicate<TTarget> | match | The Predicate<T> delegate that defines the conditions of the |
Type | Description |
---|---|
TTarget | The last |
Name | Description |
---|---|
TTarget |
Type | Condition |
---|---|
ArgumentNullException | match is null. |