MonobjcMonobjc Documented Class Library
InitWithStringAttributes Method (aString, attributes)
NamespacesMonobjc.FoundationNSAttributedStringInitWithStringAttributes(NSString, NSDictionary)

Returns an NSAttributedString object initialized with a given string and attributes.

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

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual Id InitWithStringAttributes(
	NSString aString,
	NSDictionary attributes
)
Public Overridable Function InitWithStringAttributes ( _
	aString As NSString, _
	attributes As NSDictionary _
) As Id
public:
virtual Id^ InitWithStringAttributes(
	NSString^ aString, 
	NSDictionary^ attributes
)
Parameters
aString (NSString)
The string for the new attributed string.
attributes (NSDictionary)
The attributes for the new attributed string. For information about where to find the attribute keys you can include in this dictionary, see the overview section of this document.
Return Value

[Missing <returns> documentation for "M:Monobjc.Foundation.NSAttributedString.InitWithStringAttributes(Monobjc.Foundation.NSString,Monobjc.Foundation.NSDictionary)"]

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)