IndexOfAny Method (rope, anyOf, startIndex, length)
NamespacesICSharpCode.AvalonEdit.UtilsCharRopeIndexOfAny(Rope<(Of <<'(Char>)>>), array<Char>[]()[][], Int32, Int32)
Gets the index of the first occurrence of any element in the specified array.
Declaration Syntax
C#Visual BasicVisual C++
public static int IndexOfAny(
	this Rope<char> rope,
	char[] anyOf,
	int startIndex,
	int length
<ExtensionAttribute> _
Public Shared Function IndexOfAny ( _
	rope As Rope(Of Char), _
	anyOf As Char(), _
	startIndex As Integer, _
	length As Integer _
) As Integer
static int IndexOfAny(
	Rope<wchar_t>^ rope, 
	array<wchar_t>^ anyOf, 
	int startIndex, 
	int length
rope (Rope<(Of <(<'Char>)>)>)
The target rope.
anyOf (array<Char>[]()[][])
Array of characters being searched.
startIndex (Int32)
Start index of the search.
length (Int32)
Length of the area to search.
Return Value
The first index where any character was found; or -1 if no occurrence was found.
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: