The default implementation returns nil to indicate that the formatter object does not provide an attributed string.
Original signature is '- (NSAttributedString *)attributedStringForObjectValue:(id)anObject withDefaultAttributes:(NSDictionary *)attributes'
Available in Mac OS X v10.0 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public virtual NSAttributedString AttributedStringForObjectValueWithDefaultAttributes( Id anObject, NSDictionary attributes )
Public Overridable Function AttributedStringForObjectValueWithDefaultAttributes ( _ anObject As Id, _ attributes As NSDictionary _ ) As NSAttributedString
public: virtual NSAttributedString^ AttributedStringForObjectValueWithDefaultAttributes( Id^ anObject, NSDictionary^ attributes )
Parameters
- anObject (Id)
- The object for which a textual representation is returned.
- attributes (NSDictionary)
- The default attributes to use for the returned attributed string.
Return Value
An attributed string that represents anObject.
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)