MonobjcMonobjc Documented Class Library
FixAttachmentAttributeInRange Method (__target, aRange)
NamespacesMonobjc.AppKitNSMutableAttributedString_AppKitAdditionsFixAttachmentAttributeInRange(NSMutableAttributedString, NSRange)

Cleans up attachment attributes in aRange, removing all attachment attributes assigned to characters other than NSAttachmentCharacter.

Original signature is '- (void)fixAttachmentAttributeInRange:(NSRange)aRange'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static void FixAttachmentAttributeInRange(
	this NSMutableAttributedString __target,
	NSRange aRange
)
<ExtensionAttribute> _
Public Shared Sub FixAttachmentAttributeInRange ( _
	__target As NSMutableAttributedString, _
	aRange As NSRange _
)
[ExtensionAttribute]
public:
static void FixAttachmentAttributeInRange(
	NSMutableAttributedString^ __target, 
	NSRange aRange
)
Parameters
__target (NSMutableAttributedString)
The target instance.
aRange (NSRange)
MISSING
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type NSMutableAttributedString. When you use instance method syntax to call this method, omit the first parameter.
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.AppKit (Module: Monobjc.AppKit)