MonobjcMonobjc Documented Class Library
InsertText Method (aString)
NamespacesMonobjc.AppKitNSResponderInsertText(Id)

Overridden by subclasses to insert the supplied string at the insertion point or selection, deleting the selection if there is one.

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

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void InsertText(
	Id aString
)
Public Overridable Sub InsertText ( _
	aString As Id _
)
public:
virtual void InsertText(
	Id^ aString
)
Parameters
aString (Id)
The string to insert or replace the selection with. aString can be either an NSString object or an NSAttributedString object.
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)