Share via


DraftTaskCollection.Remove method

Removes the specified draft task from the collection.

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

Syntax

'Declaration
<RemoteAttribute> _
Public Function Remove ( _
    task As DraftTask _
) As ClientResult(Of Boolean)
'Usage
Dim instance As DraftTaskCollection
Dim task As DraftTask
Dim returnValue As ClientResult(Of Boolean)

returnValue = instance.Remove(task)
[RemoteAttribute]
public ClientResult<bool> Remove(
    DraftTask task
)

Parameters

Return value

Type: Microsoft.SharePoint.Client.ClientResult<Boolean>
True if the object is removed from the collection; otherwise, False.

See also

Reference

DraftTaskCollection class

DraftTaskCollection members

Microsoft.ProjectServer.Client namespace