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