MonobjcMonobjc Documented Class Library
AddAttributesRange Method (attributes, aRange)
NamespacesMonobjc.FoundationNSMutableAttributedStringAddAttributesRange(NSDictionary, NSRange)

Adds the given collection of attributes to the characters in the specified range.

Original signature is '- (void)addAttributes:(NSDictionary *)attributes range:(NSRange)aRange'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void AddAttributesRange(
	NSDictionary attributes,
	NSRange aRange
)
Public Overridable Sub AddAttributesRange ( _
	attributes As NSDictionary, _
	aRange As NSRange _
)
public:
virtual void AddAttributesRange(
	NSDictionary^ attributes, 
	NSRange aRange
)
Parameters
attributes (NSDictionary)
A dictionary containing the attributes to add. Attribute keys can be supplied by another framework or can be custom ones you define. For information about where to find the system-supplied attribute keys, see the overview section in NSAttributedString Class Reference.
aRange (NSRange)
The range of characters to which the specified attributes apply.
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)