 | TriggerCollectionFind Method |
Searches for an
Trigger that matches the conditions defined by the specified predicate, and returns the first
occurrence within the entire collection.
Namespace:
Microsoft.Win32.TaskScheduler
Assembly:
Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.10.1
Syntaxpublic Trigger Find(
Predicate<Trigger> match
)
Public Function Find (
match As Predicate(Of Trigger)
) As Trigger
public:
Trigger^ Find(
Predicate<Trigger^>^ match
)
Request Example
View SourceParameters
- match
- Type: SystemPredicateTrigger
The PredicateT delegate that defines the conditions of the Trigger to search for.
Return Value
Type:
Trigger
The first
Trigger that matches the conditions defined by the specified predicate, if found; otherwise,
null.
See Also