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

VObjectCollection.IndexOf Method (IVObject)

Searches for the specified v-object and returns the zero-based index of the first occurrence within the entire collection.

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

Syntax

Visual Basic
Public Function IndexOf ( _
	value As IVObject _
) As Integer
C#
public int IndexOf(
	IVObject value
)

Parameters

value

Type: Aurigma.GraphicsMill.WinControls.IVObject

The v-object to locate in the collection.

Return Value

A zero-based index of the first occurrence of the value within the entire collection, if found; otherwise, -1.

See Also

Reference