Share via


WorkItem.Save Method (SaveFlags)

Saves any pending changes on this work item.

Namespace:  Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly:  Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)

Syntax

'Declaration
Public Sub Save ( _
    saveFlags As SaveFlags _
)
public void Save(
    SaveFlags saveFlags
)
public:
void Save(
    SaveFlags saveFlags
)
member Save : 
        saveFlags:SaveFlags -> unit
public function Save(
    saveFlags : SaveFlags
)

Parameters

Exceptions

Exception Condition
ValidationException

Thrown when at least one field in this WorkItem instance has data that is not valid.

.NET Framework Security

See Also

Reference

WorkItem Class

Save Overload

Microsoft.TeamFoundation.WorkItemTracking.Client Namespace