Returns the attributes for the character at a given index, and by reference the range over which the attributes apply.
Original signature is '- (NSDictionary *)attributesAtIndex:(NSUInteger)index longestEffectiveRange:(NSRangePointer)aRange inRange:(NSRange)rangeLimit'
Available in Mac OS X v10.0 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public virtual NSDictionary AttributesAtIndexLongestEffectiveRangeInRange( NSUInteger index, ref NSRange aRange, NSRange rangeLimit )
Public Overridable Function AttributesAtIndexLongestEffectiveRangeInRange ( _ index As NSUInteger, _ ByRef aRange As NSRange, _ rangeLimit As NSRange _ ) As NSDictionary
public: virtual NSDictionary^ AttributesAtIndexLongestEffectiveRangeInRange( NSUInteger index, NSRange% aRange, NSRange rangeLimit )
Parameters
- index (NSUInteger)
- The index for which to return attributes. This value must not exceed the bounds of the receiver.
- aRange (NSRange%)
- If non-NULL, upon return contains the maximum range over which the attributes and values are the same as those at index, clipped to rangeLimit.
- rangeLimit (NSRange)
- The range over which to search for continuous presence of the attributes at index. This value must not exceed the bounds of the receiver.
Return Value
[Missing <returns> documentation for "M:Monobjc.Foundation.NSAttributedString.AttributesAtIndexLongestEffectiveRangeInRange(Monobjc.Foundation.NSUInteger,Monobjc.Foundation.NSRange@,Monobjc.Foundation.NSRange)"]
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)