Determines whether the NSArray contains elements that match the conditions defined by the specified predicate.

C# | Visual Basic | Visual C++ |
public virtual bool Exists<T>( Predicate<T> match ) where T : class, IManagedWrapper
Public Overridable Function Exists(Of T As {Class, IManagedWrapper}) ( _ match As Predicate(Of T) _ ) As Boolean
public: generic<typename T> where T : ref class, IManagedWrapper virtual bool Exists( Predicate<T>^ match )

- T
- The parametric type

- match (Predicate<(Of <(<'T>)>)>)
- The [!:Predicate{T}] delegate that defines the conditions of the elements to search for.

true if the NSArray contains one or more elements that match the conditions defined by the specified predicate; otherwise, false.

- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)