TaskCollectionAdd(String) Method

Add a task to the collection by display name.

Definition

Namespace: ProjectTask
Assembly: ProjectTask (in ProjectTask.dll) Version: 25.2814.3647
C#
public TaskItem Add(
	string displayName
)

Parameters

displayName  String
Name of the task to create.

Return Value

TaskItem
Newly created and added task, if legitimate. Otherwise, null.

See Also