This documentation is for the old version. Go to the latest Graphics Mill docs

Collection<T>.IndexOf Method

Searches for the specified item and returns the zero-based index of the first occurrence within the entire Collection<T>.

Namespace: Aurigma.GraphicsMill.AjaxControls.VectorObjects
Assembly: Aurigma.GraphicsMill.AjaxControls.VectorObjects (in Aurigma.GraphicsMill.AjaxControls.VectorObjects.dll)

Syntax

Visual Basic
Public Function IndexOf ( _
	item As T _
) As Integer
C#
public int IndexOf(
	T item
)

Parameters

item

Type: T

The item to locate in the Collection<T>.

Return Value

The zero-based index of the first occurrence of item within the entire Collection<T>, if found; otherwise, �1.

Implements

IList<T>.IndexOf(T)

See Also

Reference