[]
Searches for the specified ID of the predecessor task and returns the zero-based index of the corresponding predecessor.
public int IndexOf(int predecessorTaskID)