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
parameters
Type: Microsoft.ProjectServer.Client.TaskCreationInformationThe properties of the draft task to create.
Return value
Type: Microsoft.ProjectServer.Client.DraftTask
The draft task.