PrintDocument for WPF | ComponentOne
C1.WPF.PrintDocument.4.6.2 Assembly / C1.C1Preview Namespace / C1PageCollection Class / IndexOf Method
The object to search for.

In This Topic
    IndexOf Method (C1PageCollection)
    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