MonobjcMonobjc Documented Class Library
SetAttributesRange Method (attributes, aRange)
NamespacesMonobjc.FoundationNSMutableAttributedStringSetAttributesRange(NSDictionary, NSRange)

Sets the attributes for the characters in the specified range to the specified attributes.

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

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void SetAttributesRange(
	NSDictionary attributes,
	NSRange aRange
)
Public Overridable Sub SetAttributesRange ( _
	attributes As NSDictionary, _
	aRange As NSRange _
)
public:
virtual void SetAttributesRange(
	NSDictionary^ attributes, 
	NSRange aRange
)
Parameters
attributes (NSDictionary)
A dictionary containing the attributes to set. 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 whose attributes are set.
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)