MonobjcMonobjc Documented Class Library
InitWithAttributedString Method (attributedString)
NamespacesMonobjc.FoundationNSAttributedStringInitWithAttributedString(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 virtual Id InitWithAttributedString(
	NSAttributedString attributedString
)
Public Overridable Function InitWithAttributedString ( _
	attributedString As NSAttributedString _
) As Id
public:
virtual Id^ InitWithAttributedString(
	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)