Share via


PredecessorDrivers.TotalDetectedCount Property

Project Developer Reference

Returns the actual number of CalendarStart drivers. Read-only Long.

Syntax

expression.TotalDetectedCount

expression   A variable that represents a PredecessorDrivers object.

Return Value
Long

Example

The following example displays TotalDetectedCount for each task in the active project.

Visual Basic for Applications
  Sub b()
    Dim T As Task
    Dim count As Integer
    For Each T In ActiveProject.Tasks
        If T.RecalcFlags = 1 Then
            MsgBox (T.StartDriver.ActualStartDrivers.TotalDetectedCount)
        End If
    Next T
End Sub

See Also