Spread ASP.NET 14
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / SpreadImageCollection Class / IndexOf Method
The Spread image to locate in SpreadImageCollection.


In This Topic
    IndexOf Method (SpreadImageCollection)
    In This Topic
    Determines the index of a specific spread image in the SpreadImageCollection object.
    Syntax
    'Declaration
     
    Public Function IndexOf( _
       ByVal img As SpreadImage _
    ) As Integer
    'Usage
     
    Dim instance As SpreadImageCollection
    Dim img As SpreadImage
    Dim value As Integer
     
    value = instance.IndexOf(img)
    public int IndexOf( 
       SpreadImage img
    )

    Parameters

    img
    The Spread image to locate in SpreadImageCollection.

    Return Value

    The index of value if found in the list; otherwise, -1.
    See Also