PrintDocument for WinForms | ComponentOne
C1.PrintDocument.4.8 Assembly / C1.C1Preview Namespace / TableRowCollection Class / IndexOf Method
The object to search for.

In This Topic
    IndexOf Method (TableRowCollection)
    In This Topic
    Returns the index of the specified object in the current C1.C1Preview.Util.FastList. (Performs a fast search using the C1.C1Preview.Util.FastList.FindObjectIndex method.)
    Syntax
    'Declaration
     
    Public Function IndexOf( _
       ByVal obj As Object _
    ) As Integer
    public int IndexOf( 
       object obj
    )

    Parameters

    obj
    The object to search for.

    Return Value

    The index of the specified object within the current list, or -1 if none was found.
    See Also