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 NSTextStorage( NSString aString, NSDictionary attributes )
Public Sub New ( _ aString As NSString, _ attributes As NSDictionary _ )
public: NSTextStorage( 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.


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