GanttView for WPF | ComponentOne
C1.WPF.GanttView.4.6.2 Assembly / C1.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 Integer _
    ) As Integer
    public int IndexOf( 
       int predecessorTaskID
    )

    Parameters

    predecessorTaskID
    See Also