Returns the attributes for the character at a given index.
Original signature is '- (NSDictionary *)attributesAtIndex:(NSUInteger)index effectiveRange:(NSRangePointer)aRange'
Available in Mac OS X v10.0 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public virtual NSDictionary AttributesAtIndexEffectiveRange( NSUInteger index, ref NSRange aRange )
Public Overridable Function AttributesAtIndexEffectiveRange ( _ index As NSUInteger, _ ByRef aRange As NSRange _ ) As NSDictionary
public: virtual NSDictionary^ AttributesAtIndexEffectiveRange( NSUInteger index, NSRange% aRange )
Parameters
- index (NSUInteger)
- The index for which to return attributes. This value must lie within the bounds of the receiver.
- aRange (NSRange%)
- Upon return, the range over which the attributes and values are the same as those at index. This range isn’t necessarily the maximum range covered, and its extent is implementation-dependent. If you need the maximum range, use attributesAtIndex:longestEffectiveRange:inRange:. If you don't need this value, pass NULL.
Return Value
The attributes for the character at index.
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)