IndexOf Method (c, startIndex, count)
AvalonEdit
IndexOf Method (c, startIndex, count)
NamespacesICSharpCode.AvalonEdit.DocumentTextDocumentIndexOf(Char, Int32, Int32)
Gets the index of the first occurrence of the character in the specified array.
Declaration Syntax
C#Visual BasicVisual C++
public int IndexOf(
	char c,
	int startIndex,
	int count
)
Public Function IndexOf ( _
	c As Char, _
	startIndex As Integer, _
	count As Integer _
) As Integer
public:
virtual int IndexOf(
	wchar_t c, 
	int startIndex, 
	int count
) sealed
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