Adds a temporary attribute with the given name and value to the characters in the specified range.
Original signature is '- (void)addTemporaryAttribute:(NSString *)attrName value:(id)value forCharacterRange:(NSRange)charRange'
Available in Mac OS X v10.5 and later.
Declaration Syntax
public virtual void AddTemporaryAttributeValueForCharacterRange(
NSString attrName,
Id value,
NSRange charRange
)
Public Overridable Sub AddTemporaryAttributeValueForCharacterRange ( _
attrName As NSString, _
value As Id, _
charRange As NSRange _
)
public:
virtual void AddTemporaryAttributeValueForCharacterRange(
NSString^ attrName,
Id^ value,
NSRange charRange
)
Parameters
- attrName (NSString)
- The name of a temporary attribute.
- value (Id)
- The temporary attribute value associated with attrName.
- charRange (NSRange)
- The range of characters to which the specified attribute-value pair applies.
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)