Creatio development guide
Это документация Creatio версии 7.9.0. Мы рекомендуем использовать новую версию документации.
T
Any type.

CollectionUtilities.Find(IEnumerable,Predicate,T) - метод Смотри также  Terrasoft.Common - пространство имен > CollectionUtilities - класс > Find - метод : Find(IEnumerable,Predicate,T) - метод C#

source
Searched object.
match
Search criteria.
defValue
Search result by default.

Glossary Item Box

Search an element by specified criteria.

Синтаксис

[Extension()] 
public static T Find<T>( 
   IEnumerable<T> source, 
   Predicate<T> match, 
   T defValue 
)

Параметры

source
Searched object.
match
Search criteria.
defValue
Search result by default.

Типы обобщений

T
Any type.

Тип возвращаемого значения

Found objects if the search was successful; otherwise - default result (defValue).

Исключения

ИсключениеОписание
System.ArgumentNullExceptionIf the match parameter, which specifies the search criteria, is empty.

Заметки

Extensible type for the classes that implement IEnumerable interface.

Смотри также

© Terrasoft 2002-2017.

Был ли данный материал полезен?

Как можно улучшить эту статью?