AvalonEdit
IndexOf Method (item)
NamespacesICSharpCode.AvalonEdit.UtilsRope<(Of <(<'T>)>)>IndexOf(T)
Finds the first occurance of item. Runs in O(N).
Declaration Syntax
C#Visual BasicVisual C++
public int IndexOf(
	T item
)
Public Function IndexOf ( _
	item As T _
) As Integer
public:
virtual int IndexOf(
	T item
) sealed
Parameters
item (T)
Return Value
The index of the first occurance of item, or -1 if it cannot be found.
Remarks
This method counts as a read access and may be called concurrently to other read accesses.

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