ComponentOne GanttView for WinForms
C1.Win.GanttView.8 Assembly / C1.Win.GanttView Namespace / PredecessorCollection Class / IndexOf Method / IndexOf(Int32) Method

In This Topic
    IndexOf(Int32) Method
    In This Topic
    Searches for the specified ID of the predecessor task and returns the zero-based index of the corresponding predecessor.
    Syntax
    'Declaration
     
    Public Overloads Function IndexOf( _
       ByVal predecessorTaskID As System.Integer _
    ) As System.Integer
    public System.int IndexOf( 
       System.int predecessorTaskID
    )

    Parameters

    predecessorTaskID
    See Also