MonobjcMonobjc Documented Class Library
SetAttributedString Method (attributedString)
NamespacesMonobjc.FoundationNSMutableAttributedStringSetAttributedString(NSAttributedString)

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.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void SetAttributedString(
	NSAttributedString attributedString
)
Public Overridable Sub SetAttributedString ( _
	attributedString As NSAttributedString _
)
public:
virtual void SetAttributedString(
	NSAttributedString^ attributedString
)
Parameters
attributedString (NSAttributedString)
The attributed string whose characters and attributes replace those in the receiver.
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)

Assembly: Monobjc.Foundation (Module: Monobjc.Foundation)