MonobjcMonobjc Documented Class Library
RemoveAttributeRange Method (name, aRange)
NamespacesMonobjc.FoundationNSMutableAttributedStringRemoveAttributeRange(NSString, NSRange)

Removes the named attribute from the characters in the specified range.

Original signature is '- (void)removeAttribute:(NSString *)name range:(NSRange)aRange'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void RemoveAttributeRange(
	NSString name,
	NSRange aRange
)
Public Overridable Sub RemoveAttributeRange ( _
	name As NSString, _
	aRange As NSRange _
)
public:
virtual void RemoveAttributeRange(
	NSString^ name, 
	NSRange aRange
)
Parameters
name (NSString)
A string specifying the attribute name to remove. 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 from which the specified attribute is removed.
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)