| ObservableListTFind Method |
Searches for an element that matches the conditions defined by the specified predicate,
and returns the first occurrence within the entire ObservableList.
Namespace: Sdl.FileTypeSupport.Framework.Core.SettingsAssembly: Sdl.FileTypeSupport.Framework.Core.Settings (in Sdl.FileTypeSupport.Framework.Core.Settings.dll) Version: 1.0.0.0 (1.0.2551.2)
Syntaxpublic T Find(
Predicate<T> match
)
Public Function Find (
match As Predicate(Of T)
) As T
public:
T Find(
Predicate<T>^ match
)
member Find :
match : Predicate<'T> -> 'T
Parameters
- match
- Type: SystemPredicateT
The PredicateT delegate that defines the conditions of the element to search for.
Return Value
Type:
TThe first element that matches the conditions defined by the specified predicate, if found; otherwise, the default value for type T.
See Also
Comments