Executes the Block for each attribute in the range.
Original signature is '- (void)enumerateAttributesInRange:(NSRange)enumerationRange options:(NSAttributedStringEnumerationOptions)opts usingBlock:(void (^)(NSDictionary *attrs, NSRange range, BOOL *stop))block'
Available in Mac OS X v10.6 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public virtual void EnumerateAttributesInRangeOptionsUsingBlock( NSRange enumerationRange, NSAttributedStringEnumerationOptions opts, Action<NSDictionary, NSRange, IntPtr> block )
Public Overridable Sub EnumerateAttributesInRangeOptionsUsingBlock ( _ enumerationRange As NSRange, _ opts As NSAttributedStringEnumerationOptions, _ block As Action(Of NSDictionary, NSRange, IntPtr) _ )
public: virtual void EnumerateAttributesInRangeOptionsUsingBlock( NSRange enumerationRange, NSAttributedStringEnumerationOptions opts, Action<NSDictionary^, NSRange, IntPtr>^ block )
Parameters
- enumerationRange (NSRange)
- If non-NULL, contains the maximum range over which the attributes and values are enumerated, clipped to enumerationRange.
- opts (NSAttributedStringEnumerationOptions)
- The options used by the enumeration. The values can be combined using C-bitwise OR. The values are described in “NSAttributedStringEnumerationOptions.”
- block (Action<(Of <(<'NSDictionary, NSRange, IntPtr>)>)>)
- The Block to apply to ranges of the attribute in the attributed string.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later)