ComponentOne GanttView for WinForms
IndexOf(Int32) Method

C1.Win.C1GanttView.4 Assembly > C1.Win.C1GanttView Namespace > PredecessorCollection Class > IndexOf Method : IndexOf(Int32) Method
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

Reference

PredecessorCollection Class
PredecessorCollection Members
Overload List