Click to Rate and Give Feedback
This page is specific to
Microsoft Visual Studio 2005/.NET Framework 2.0

Other versions are also available for the following:
Reference for Team Foundation Server SDK
WorkItem.Save Method

Saves this WorkItem after validating its contents.

Namespace: Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly: Microsoft.TeamFoundation.WorkItemTracking.Client (in microsoft.teamfoundation.workitemtracking.client.dll)

Visual Basic (Declaration)
Public Sub Save
Visual Basic (Usage)
Dim instance As WorkItem

instance.Save
C#
public void Save ()
C++
public:
void Save ()
J#
public void Save ()
JScript
public function Save ()
Exception typeCondition

ValidationException

Thrown if the Fields in the WorkItem are not valid for its WorkItemType. This condition can be checked prior to the save by checking IsValid.

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker