PrintDocument for WPF | ComponentOne
C1.WPF.PrintDocument.4.6.2 Assembly / C1.C1Preview.Util Namespace / FastList 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 (FastList)
    In This Topic
    Performs a fast search for the specified object within the current 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