MonobjcMonobjc Documented Class Library
IndexesInRangeOptionsPassingTest Method (range, opts, predicate)
NamespacesMonobjc.FoundationNSIndexSetIndexesInRangeOptionsPassingTest(NSRange, NSEnumerationOptions, Func<(Of <<'(NSUInteger, IntPtr, Boolean>)>>))

Returns an NSIndexSet containing the receiving index set’s objects in the specified range that pass the Block test.

Original signature is '- (NSIndexSet *)indexesInRange:(NSRange)range options:(NSEnumerationOptions)opts passingTest:(BOOL (^)(NSUInteger idx, BOOL *stop))predicate'

Available in Mac OS X v10.6 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSIndexSet IndexesInRangeOptionsPassingTest(
	NSRange range,
	NSEnumerationOptions opts,
	Func<NSUInteger, IntPtr, bool> predicate
)
Public Overridable Function IndexesInRangeOptionsPassingTest ( _
	range As NSRange, _
	opts As NSEnumerationOptions, _
	predicate As Func(Of NSUInteger, IntPtr, Boolean) _
) As NSIndexSet
public:
virtual NSIndexSet^ IndexesInRangeOptionsPassingTest(
	NSRange range, 
	NSEnumerationOptions opts, 
	Func<NSUInteger, IntPtr, bool>^ predicate
)
Parameters
range (NSRange)
The range of indexes to test.
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.
predicate (Func<(Of <(<'NSUInteger, IntPtr, Boolean>)>)>)
The Block to apply to elements in the set.
Return Value
An NSIndexSet containing the indexes of the receiving index set that passed the predicate Block test.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later)

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