MonobjcMonobjc Documented Class Library
NSAttributedString Constructor (aString)
NamespacesMonobjc.FoundationNSAttributedStringNSAttributedString(NSString)

Returns an NSAttributedString object initialized with the characters of a given string and no attribute information.

Original signature is '- (id)initWithString:(NSString *)aString'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public NSAttributedString(
	NSString aString
)
Public Sub New ( _
	aString As NSString _
)
public:
NSAttributedString(
	NSString^ aString
)
Parameters
aString (NSString)
The characters for the new object.
Return Value
An NSAttributedString object initialized with the characters of aString and no attribute information 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)