AvalonEdit
IndexOf Method (rope, searchText, startIndex, length, comparisonType)
NamespacesICSharpCode.AvalonEdit.UtilsCharRopeIndexOf(Rope<(Of <<'(Char>)>>), String, Int32, Int32, StringComparison)
Gets the index of the first occurrence of the search text.
Declaration Syntax
C#Visual BasicVisual C++
public static int IndexOf(
	this Rope<char> rope,
	string searchText,
	int startIndex,
	int length,
	StringComparison comparisonType
)
<ExtensionAttribute> _
Public Shared Function IndexOf ( _
	rope As Rope(Of Char), _
	searchText As String, _
	startIndex As Integer, _
	length As Integer, _
	comparisonType As StringComparison _
) As Integer
public:
[ExtensionAttribute]
static int IndexOf(
	Rope<wchar_t>^ rope, 
	String^ searchText, 
	int startIndex, 
	int length, 
	StringComparison comparisonType
)
Parameters
rope (Rope<(Of <(<'Char>)>)>)
searchText (String)
startIndex (Int32)
length (Int32)
comparisonType (StringComparison)
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.

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