PrintDocument for WinForms | ComponentOne
C1.PrintDocument.4.5.2 Assembly / C1.C1Preview Namespace / TableCellCollection Class / FindObjectIndex Method
The object to search for.
OUT: the index of obj within the current list, or 0 if the object was not found.

In This Topic
    FindObjectIndex Method (TableCellCollection)
    In This Topic
    Performs a fast search for the specified object within the current C1.C1Preview.Util.FastList.
    Syntax
    'Declaration
     
    Protected Function FindObjectIndex( _
       ByVal obj As Object, _
       ByRef index As Integer _
    ) As Boolean
    protected bool FindObjectIndex( 
       object obj,
       out int index
    )

    Parameters

    obj
    The object to search for.
    index
    OUT: the index of obj within the current list, or 0 if the object was not found.

    Return Value

    true if obj was found, false otherwise.
    See Also