DraftTaskCollection.Add method

Adds the draft task that is specified by the TaskCreationInformation object to the collection.

Namespace:  Microsoft.ProjectServer.Client
Assembly:  Microsoft.ProjectServer.Client (in Microsoft.ProjectServer.Client.dll)

Syntax

'Declaration
<RemoteAttribute> _
Public Function Add ( _
    parameters As TaskCreationInformation _
) As DraftTask
'Usage
Dim instance As DraftTaskCollection
Dim parameters As TaskCreationInformation
Dim returnValue As DraftTask

returnValue = instance.Add(parameters)
[RemoteAttribute]
public DraftTask Add(
    TaskCreationInformation parameters
)

Parameters

Return value

Type: Microsoft.ProjectServer.Client.DraftTask
The draft task.

See also

Reference

DraftTaskCollection class

DraftTaskCollection members

Microsoft.ProjectServer.Client namespace