Iterates predecessor items of the specified item satisfying the specified dependency type condition in the managed collection as TaskItem objects.

Namespace:  DlhSoft.Windows.Data
Assembly:  DlhSoft.ProjectData.Core (in DlhSoft.ProjectData.Core.dll)

Syntax

C#
public IEnumerable<TaskItem> GetPredecessors(
	TaskItem item,
	Predicate<DependencyType> dependencyTypeCondition
)
Visual Basic (Declaration)
Public Function GetPredecessors ( _
	item As TaskItem, _
	dependencyTypeCondition As Predicate(Of DependencyType) _
) As IEnumerable(Of TaskItem)

Parameters

item
Type: DlhSoft.Windows.Data..::..TaskItem
dependencyTypeCondition
Type: System..::..Predicate<(Of <(<'DependencyType>)>)>

See Also