AvalonEdit
Replace Method (offset, length, newText)
NamespacesICSharpCode.AvalonEdit.DocumentIDocumentReplace(Int32, Int32, String)
Replaces text.
Declaration Syntax
C#Visual BasicVisual C++
void Replace(
	int offset,
	int length,
	string newText
)
Sub Replace ( _
	offset As Integer, _
	length As Integer, _
	newText As String _
)
void Replace(
	int offset, 
	int length, 
	String^ newText
)
Parameters
offset (Int32)
The starting offset of the text to be replaced.
length (Int32)
The length of the text to be replaced.
newText (String)
The new text.

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