CollectionBaseTExists Method |
Determines if the collection contains any item that satisfies the condition
defined by predicate.
Namespace: X3Platform.CollectionsAssembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntaxpublic virtual bool Exists(
Predicate<T> predicate
)
public:
virtual bool Exists(
Predicate<T>^ predicate
)
Parameters
- predicate
- Type: SystemPredicateT
A delegate that defines the condition to check for.
Return Value
Type:
BooleanTrue if the collection contains one or more items that satisfy the condition
defined by
predicate. False if the collection does not contain
an item that satisfies
predicate.
See Also