MonobjcMonobjc Documented Class Library
EnumerateIndexesWithOptionsUsingBlock Method (opts, block)
NamespacesMonobjc.FoundationNSIndexSetEnumerateIndexesWithOptionsUsingBlock(NSEnumerationOptions, Action<(Of <<'(NSUInteger, IntPtr>)>>))

Executes a given Block over the index set’s indexes, using the specified enumeration options.

Original signature is '- (void)enumerateIndexesWithOptions:(NSEnumerationOptions)opts usingBlock:(void (^)(NSUInteger idx, BOOL *stop))block'

Available in Mac OS X v10.6 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void EnumerateIndexesWithOptionsUsingBlock(
	NSEnumerationOptions opts,
	Action<NSUInteger, IntPtr> block
)
Public Overridable Sub EnumerateIndexesWithOptionsUsingBlock ( _
	opts As NSEnumerationOptions, _
	block As Action(Of NSUInteger, IntPtr) _
)
public:
virtual void EnumerateIndexesWithOptionsUsingBlock(
	NSEnumerationOptions opts, 
	Action<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). 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)

Assembly: Monobjc.Foundation (Module: Monobjc.Foundation)