Executes the Block for the specified attribute run in the specified range.
Original signature is '- (void)enumerateAttribute:(NSString *)attrName inRange:(NSRange)enumerationRange options:(NSAttributedStringEnumerationOptions)opts usingBlock:(void (^)(id value, NSRange range, BOOL *stop))block'
Available in Mac OS X v10.6 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public virtual void EnumerateAttributeInRangeOptionsUsingBlock( NSString attrName, NSRange enumerationRange, NSAttributedStringEnumerationOptions opts, Action<Id, NSRange, IntPtr> block )
Parameters
- attrName (NSString)
- The name of an attribute.
- 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.”
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later)