Share via


ShapeCollection.IList.IndexOf Method (Object)

 

Retrieves the index of the specified object in the collection.

Namespace:   Microsoft.VisualBasic.PowerPacks
Assembly:  Microsoft.VisualBasic.PowerPacks.Vs (in Microsoft.VisualBasic.PowerPacks.Vs.dll)

Syntax

int IList.IndexOf(
    object value
)
private:
virtual int IndexOf(
    Object^ value
) sealed = IList::IndexOf
private abstract IndexOf : 
        value:Object -> int
private override IndexOf : 
        value:Object -> int
Private Function IndexOf (
    value As Object
) As Integer
    Implements IList.IndexOf

Parameters

  • value
    Type: System.Object

    The object to locate in the collection.

Return Value

Type: System.Int32

A zero-based index value that represents the position of the specified object in the collection.

Implements

IList.IndexOf(Object)

See Also

ShapeCollection Class
Microsoft.VisualBasic.PowerPacks Namespace

Return to top