Determines whether every element in the NSArray matches the conditions defined by the specified predicate.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public virtual bool TrueForAll<T>( Predicate<T> match ) where T : class, IManagedWrapper
Public Overridable Function TrueForAll(Of T As {Class, IManagedWrapper}) ( _ match As Predicate(Of T) _ ) As Boolean
public: generic<typename T> where T : ref class, IManagedWrapper virtual bool TrueForAll( Predicate<T>^ match )
Generic Template Parameters
- T
- The parametric type
Parameters
- match (Predicate<(Of <(<'T>)>)>)
- The [!:Predicate{T}] delegate that defines the conditions to check against the elements.
Return Value
true if every element in the NSArray matches the conditions defined by the specified predicate; otherwise, false. If the list has no elements, the return value is true.
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)