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.

C# | Visual Basic | Visual 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 )

- 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.

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

- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)