Executes a given Block using the indexes in the specified range, using the specified enumeration options.
Original signature is '- (void)enumerateIndexesInRange:(NSRange)range options:(NSEnumerationOptions)opts usingBlock:(void (^)(NSUInteger idx, BOOL *stop))block'
Available in Mac OS X v10.6 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public virtual void EnumerateIndexesInRangeOptionsUsingBlock( NSRange range, NSEnumerationOptions opts, Action<NSUInteger, IntPtr> block )
Public Overridable Sub EnumerateIndexesInRangeOptionsUsingBlock ( _ range As NSRange, _ opts As NSEnumerationOptions, _ block As Action(Of NSUInteger, IntPtr) _ )
public: virtual void EnumerateIndexesInRangeOptionsUsingBlock( NSRange range, NSEnumerationOptions opts, Action<NSUInteger, IntPtr>^ block )
Parameters
- range (NSRange)
- Index to enumerate.
- 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). See NSEnumerationOptions for the supported values.
- block (Action<(Of <(<'NSUInteger, IntPtr>)>)>)
- The Block to apply to elements in the set.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later)