MonobjcMonobjc Documented Class Library
EnumerateSubstringsInRangeOptionsUsingBlock Method (range, opts, block)
NamespacesMonobjc.FoundationNSStringEnumerateSubstringsInRangeOptionsUsingBlock(NSRange, NSStringEnumerationOptions, Action<(Of <<'(NSString, NSRange, NSRange, IntPtr>)>>))

Enumerates the substrings of the specified type in the specified range of the string.

Original signature is '- (void)enumerateSubstringsInRange:(NSRange)range options:(NSStringEnumerationOptions)opts usingBlock:(void (^)(NSString *substring, NSRange substringRange, NSRange enclosingRange, BOOL *stop))block'

Available in Mac OS X v10.6 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void EnumerateSubstringsInRangeOptionsUsingBlock(
	NSRange range,
	NSStringEnumerationOptions opts,
	Action<NSString, NSRange, NSRange, IntPtr> block
)
Public Overridable Sub EnumerateSubstringsInRangeOptionsUsingBlock ( _
	range As NSRange, _
	opts As NSStringEnumerationOptions, _
	block As Action(Of NSString, NSRange, NSRange, IntPtr) _
)
public:
virtual void EnumerateSubstringsInRangeOptionsUsingBlock(
	NSRange range, 
	NSStringEnumerationOptions opts, 
	Action<NSString^, NSRange, NSRange, IntPtr>^ block
)
Parameters
range (NSRange)
The range within the string to enumerate substrings.
opts (NSStringEnumerationOptions)
Options specifying types of substrings and enumeration styles.
block (Action<(Of <(<'NSString, NSRange, NSRange, IntPtr>)>)>)
The block executed for the enumeration.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later)

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