AvalonEdit
IndexOf Method (c, startIndex, count)
NamespacesICSharpCode.AvalonEdit.DocumentITextSourceIndexOf(Char, Int32, Int32)
Gets the index of the first occurrence of the character in the specified array.
Declaration Syntax
C#Visual BasicVisual C++
int IndexOf(
	char c,
	int startIndex,
	int count
)
Function IndexOf ( _
	c As Char, _
	startIndex As Integer, _
	count As Integer _
) As Integer
int IndexOf(
	wchar_t c, 
	int startIndex, 
	int count
)
Parameters
c (Char)
Character to search for
startIndex (Int32)
Start index of the area to search.
count (Int32)
Length of the area to search.
Return Value
The first index where the character was found; or -1 if no occurrence was found.

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