AvalonEdit
InsertText Method (rope, index, text)
NamespacesICSharpCode.AvalonEdit.UtilsCharRopeInsertText(Rope<(Of <<'(Char>)>>), Int32, String)
Inserts text into this rope. Runs in O(lg N + M).
Declaration Syntax
C#Visual BasicVisual C++
public static void InsertText(
	this Rope<char> rope,
	int index,
	string text
)
<ExtensionAttribute> _
Public Shared Sub InsertText ( _
	rope As Rope(Of Char), _
	index As Integer, _
	text As String _
)
public:
[ExtensionAttribute]
static void InsertText(
	Rope<wchar_t>^ rope, 
	int index, 
	String^ text
)
Parameters
rope (Rope<(Of <(<'Char>)>)>)
index (Int32)
text (String)
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type Rope<(Of <(<'Char>)>)>. When you use instance method syntax to call this method, omit the first parameter.
Exceptions
ExceptionCondition
ArgumentNullExceptionnewElements is null.
ArgumentOutOfRangeExceptionindex or length is outside the valid range.

Assembly: ICSharpCode.AvalonEdit (Module: ICSharpCode.AvalonEdit.dll) Version: 5.0.0.4238