MonobjcMonobjc Documented Class Library
InsertTextReplacementRange Method (aString, replacementRange)
NamespacesMonobjc.AppKitNSTextViewInsertTextReplacementRange(Id, NSRange)

Inserts the given string into the receiver, replacing the specified content. (required)

Original signature is '- (void)insertText:(id)aString replacementRange:(NSRange)replacementRange'

Available in Mac OS X v10.5 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void InsertTextReplacementRange(
	Id aString,
	NSRange replacementRange
)
Public Overridable Sub InsertTextReplacementRange ( _
	aString As Id, _
	replacementRange As NSRange _
)
public:
virtual void InsertTextReplacementRange(
	Id^ aString, 
	NSRange replacementRange
)
Parameters
aString (Id)
The text to insert, either an NSString or NSAttributedString instance.
replacementRange (NSRange)
The range of content to replace in the receiver’s text storage.
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)