Determines whether the NSArray contains elements that match the conditions defined by the specified predicate.
Declaration Syntax
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 )
Generic Template Parameters
- T
- The parametric type
Parameters
- match (Predicate<(Of <(<'T>)>)>)
- The [!:Predicate{T}] delegate that defines the conditions of the elements to search for.
Return Value
true if the NSArray contains one or more elements that match the conditions defined by the specified predicate; otherwise, false.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)