This documentation is archived and is not being maintained.

Task.AddPositionType Enumeration

Specifies where to add a task in a project.

Namespace:  Microsoft.Office.Project.Server.Library
Assembly:  Microsoft.Office.Project.Server.Library (in Microsoft.Office.Project.Server.Library.dll)

public enum AddPositionType

Member nameDescription
FirstValue=0. Add task at the beginning.
MiddleValue=1. Add task after a specified task.
LastValue=2. Add task at the end.
DummyValue=3. Internal use only; do not use.
SummaryValue=4. Internal use only; do not use.

Use the Task.AddPositionType type in the ProjectDataSet.TaskRow.AddPosition property. If you use Middle, you must also specify a valid task GUID for the ProjectDataSet.TaskRow.AddAfterTaskUID property.

Developers should use only First, Middle, or Last; the other values are for internal Project use only.