Replaces the receiver’s entire contents with the characters and attributes of the given attributed string.
Original signature is '- (void)setAttributedString:(NSAttributedString *)attributedString'
Available in Mac OS X v10.0 and later.

C# | Visual Basic | Visual C++ |
public virtual void SetAttributedString( NSAttributedString attributedString )
Public Overridable Sub SetAttributedString ( _ attributedString As NSAttributedString _ )
public: virtual void SetAttributedString( NSAttributedString^ attributedString )

- attributedString (NSAttributedString)
- The attributed string whose characters and attributes replace those in the receiver.

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