MonobjcMonobjc Documented Class Library
InitWithString Method (aString)
NamespacesMonobjc.FoundationNSAttributedStringInitWithString(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 virtual Id InitWithString(
	NSString aString
)
Public Overridable Function InitWithString ( _
	aString As NSString _
) As Id
public:
virtual Id^ InitWithString(
	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)