AvalonEdit
ToString Method (rope, startIndex, length)
NamespacesICSharpCode.AvalonEdit.UtilsCharRopeToString(Rope<(Of <<'(Char>)>>), Int32, Int32)
Retrieves the text for a portion of the rope. Runs in O(lg N + M), where M=length.
Declaration Syntax
C#Visual BasicVisual C++
public static string ToString(
	this Rope<char> rope,
	int startIndex,
	int length
)
<ExtensionAttribute> _
Public Shared Function ToString ( _
	rope As Rope(Of Char), _
	startIndex As Integer, _
	length As Integer _
) As String
public:
[ExtensionAttribute]
static String^ ToString(
	Rope<wchar_t>^ rope, 
	int startIndex, 
	int length
)
Parameters
rope (Rope<(Of <(<'Char>)>)>)
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