Share via


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)

Syntax

'Declaration
Public Enumeration AddPositionType
'Usage
Dim instance As Task.AddPositionType
public enum AddPositionType

Members

Member name Description
First Value=0. Add task at the beginning.
Middle Value=1. Add task after a specified task.
Last Value=2. Add task at the end.
Dummy Value=3. Internal use only; do not use.
Summary Value=4. Internal use only; do not use.

Remarks

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.

See also

Reference

Microsoft.Office.Project.Server.Library namespace