MonobjcMonobjc Documented Class Library
NSAttributedString Constructor (attributedString)
NamespacesMonobjc.FoundationNSAttributedStringNSAttributedString(NSAttributedString)

Returns an NSAttributedString object initialized with the characters and attributes of another given attributed string.

Original signature is '- (id)initWithAttributedString:(NSAttributedString *)attributedString'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public NSAttributedString(
	NSAttributedString attributedString
)
Public Sub New ( _
	attributedString As NSAttributedString _
)
public:
NSAttributedString(
	NSAttributedString^ attributedString
)
Parameters
attributedString (NSAttributedString)
An attributed string.
Return Value
An NSAttributedString object initialized with the characters and attributes of attributedString. The returned object might be different than the original 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)