Returns the value for an attribute with a given name of the character at a given index, and by reference the range over which the attribute applies.
Original signature is '- (id)attribute:(NSString *)attributeName atIndex:(NSUInteger)index effectiveRange:(NSRangePointer)aRange'
Available in Mac OS X v10.0 and later.

C# | Visual Basic | Visual C++ |
public virtual Id AttributeAtIndexEffectiveRange( NSString attributeName, NSUInteger index, ref NSRange aRange )
Public Overridable Function AttributeAtIndexEffectiveRange ( _ attributeName As NSString, _ index As NSUInteger, _ ByRef aRange As NSRange _ ) As Id
public: virtual Id^ AttributeAtIndexEffectiveRange( NSString^ attributeName, NSUInteger index, NSRange% aRange )

- attributeName (NSString)
- The name of an attribute.
- index (NSUInteger)
- The index for which to return attributes. This value must not exceed the bounds of the receiver.
- aRange (NSRange%)
- If non-NULL:

The value for the attribute named attributeName of the character at index index, or nil if there is no such attribute.

- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)