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 Basic | Visual C++ |
public NSAttributedString( NSString aString, NSDictionary attributes )
Public Sub New ( _ aString As NSString, _ attributes As NSDictionary _ )
public: NSAttributedString( 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
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)