TaskTypeCollectionAdd(ValueTupleString, ProjectTaskTypeEnum) Method

Add one or more task types using a simple tuple approach.

Definition

Namespace: ProjectTask
Assembly: ProjectTask (in ProjectTask.dll) Version: 25.2814.3647
C#
public List<TaskTypeItem> Add(
	params (string , ProjectTaskTypeEnum )[] types
)

Parameters

types  ValueTupleString, ProjectTaskTypeEnum
One or more displayName, taskType tuples.

Return Value

ListTaskTypeItem
Reference to a list of items that have been added to the collection.

Remarks

To use this method, call it similarly to:
C#
project.TaskTypes.Add(
            ("Project", ProjectTaskTypeEnum.Project),
            ("Task", ProjectTaskTypeEnum.Task));

See Also