IndexOfAny Method (anyOf, startIndex, count)
NamespacesICSharpCode.AvalonEdit.DocumentITextSourceIndexOfAny(array<Char>[]()[][], Int32, Int32)
Gets the index of the first occurrence of any character in the specified array.
Declaration Syntax
C#Visual BasicVisual C++
int IndexOfAny(
	char[] anyOf,
	int startIndex,
	int count
Function IndexOfAny ( _
	anyOf As Char(), _
	startIndex As Integer, _
	count As Integer _
) As Integer
int IndexOfAny(
	array<wchar_t>^ anyOf, 
	int startIndex, 
	int count
anyOf (array<Char>[]()[][])
Characters 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 any character was found; or -1 if no occurrence was found.

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