AvalonEdit
WriteTo Method (rope, output, startIndex, length)
NamespacesICSharpCode.AvalonEdit.UtilsCharRopeWriteTo(Rope<(Of <<'(Char>)>>), TextWriter, Int32, Int32)
Retrieves the text for a portion of the rope and writes it to the specified text writer. Runs in O(lg N + M), where M=length.
Declaration Syntax
C#Visual BasicVisual C++
public static void WriteTo(
	this Rope<char> rope,
	TextWriter output,
	int startIndex,
	int length
)
<ExtensionAttribute> _
Public Shared Sub WriteTo ( _
	rope As Rope(Of Char), _
	output As TextWriter, _
	startIndex As Integer, _
	length As Integer _
)
public:
[ExtensionAttribute]
static void WriteTo(
	Rope<wchar_t>^ rope, 
	TextWriter^ output, 
	int startIndex, 
	int length
)
Parameters
rope (Rope<(Of <(<'Char>)>)>)
output (TextWriter)
startIndex (Int32)
length (Int32)
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.
Remarks
This method counts as a read access and may be called concurrently to other read accesses.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionoffset or length is outside the valid range.

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