DependencyCollectionAdd(String, DependencyTypeEnum) Method

Add an item to the collection by member values.

Definition

Namespace: ProjectTask
Assembly: ProjectTask (in ProjectTask.dll) Version: 25.2814.3647
C#
public DependencyItem Add(
	string dependencyTaskDisplayName,
	DependencyTypeEnum dependencyType
)

Parameters

dependencyTaskDisplayName  String
Display name of the task upon which this item will be dependent.
dependencyType  DependencyTypeEnum
The type of dependency to set on the specified task.

Return Value

DependencyItem
Reference to the newly created and added dependency, if legitimate. Otherwise, null.

See Also