MonobjcMonobjc Documented Class Library
ReplaceCharactersInRangeWithAttributedString Method (aRange, attributedString)
NamespacesMonobjc.FoundationNSMutableAttributedStringReplaceCharactersInRangeWithAttributedString(NSRange, NSAttributedString)

Replaces the characters and attributes in a given range with the characters and attributes of the given attributed string.

Original signature is '- (void)replaceCharactersInRange:(NSRange)aRange withAttributedString:(NSAttributedString *)attributedString'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void ReplaceCharactersInRangeWithAttributedString(
	NSRange aRange,
	NSAttributedString attributedString
)
Public Overridable Sub ReplaceCharactersInRangeWithAttributedString ( _
	aRange As NSRange, _
	attributedString As NSAttributedString _
)
public:
virtual void ReplaceCharactersInRangeWithAttributedString(
	NSRange aRange, 
	NSAttributedString^ attributedString
)
Parameters
aRange (NSRange)
The range of characters and attributes replaced.
attributedString (NSAttributedString)
The attributed string whose characters and attributes replace those in the specified range.
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)