Executes a given block using each object in the array.
Original signature is '- (void)enumerateObjectsWithOptions:(NSEnumerationOptions)opts usingBlock:(void (^)(id obj, NSUInteger idx, BOOL *stop))block'
Available in Mac OS X v10.6 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public virtual void EnumerateObjectsWithOptionsUsingBlock( NSEnumerationOptions opts, Action<Id, NSUInteger, IntPtr> block )
Public Overridable Sub EnumerateObjectsWithOptionsUsingBlock ( _ opts As NSEnumerationOptions, _ block As Action(Of Id, NSUInteger, IntPtr) _ )
public: virtual void EnumerateObjectsWithOptionsUsingBlock( NSEnumerationOptions opts, Action<Id^, NSUInteger, IntPtr>^ block )
Parameters
- opts (NSEnumerationOptions)
- A bitmask that specifies the options for the enumeration (whether it should be performed concurrently and whether it should be performed in reverse order).
- block (Action<(Of <(<'Id, NSUInteger, IntPtr>)>)>)
- The block to apply to elements in the array.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later)