Returns the index of the first object in the array that passes a test in a given Block.
Original signature is '- (NSUInteger)indexOfObjectPassingTest:(BOOL (^)(id obj, NSUInteger idx, BOOL *stop))predicate'
Available in Mac OS X v10.6 and later.

C# | Visual Basic | Visual C++ |
public virtual NSUInteger IndexOfObjectPassingTest( Func<Id, NSUInteger, IntPtr> predicate )
Public Overridable Function IndexOfObjectPassingTest ( _ predicate As Func(Of Id, NSUInteger, IntPtr) _ ) As NSUInteger
public: virtual NSUInteger IndexOfObjectPassingTest( Func<Id^, NSUInteger, IntPtr>^ predicate )

- predicate (Func<(Of <(<'Id, NSUInteger, IntPtr>)>)>)
- The block to apply to elements in the array.

The lowest index whose corresponding value in the array passes the test specified by predicate. If no objects in the array pass the test, returns NSNotFound.

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