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 Basic | Visual 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
Usage Note
Remarks
This method counts as a read access and may be called concurrently to other read accesses.
Exceptions
Exception | Condition |
---|---|
ArgumentOutOfRangeException | offset or length is outside the valid range. |
Assembly: ICSharpCode.AvalonEdit (Module: ICSharpCode.AvalonEdit.dll) Version: 5.0.0.4238