This documentation is archived and is not being maintained.
WorkItem Methods
Visual Studio 2013
The WorkItem type exposes the following members.
| Name | Description | |
|---|---|---|
|
Close | Closes this WorkItem instance and frees memory that is associated with it. |
|
Copy() | Creates a copy of this WorkItem instance. |
|
Copy(WorkItemType) | Creates a copy of this WorkItem instance that is of the specified WorkItemType. |
|
Copy(WorkItemType, WorkItemCopyFlags) | Creates a copy of this WorkItem instance that is of the specified WorkItemType. |
|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
|
GetHashCode | Serves as the default hash function. (Inherited from Object.) |
|
GetNextState | Gets the next state of this work item based on the action of a user. |
|
GetType | Gets the Type of the current instance. (Inherited from Object.) |
|
IsValid | Validates the fields of this work item. |
|
Open | Opens this work item for modification. |
|
PartialOpen | Opens this work item for modification when transmitting minimal amounts of data over the network. |
|
Reset | Reverts all changes that were made since the last save. |
|
Save() | Saves any pending changes on this work item. |
|
Save(SaveFlags) | Saves any pending changes on this work item. |
|
SetDirty | Temporarily overrides the dirty state of a work item. Any modification to the work item will cause this to be reset to the correct value, depending on the work item's modification state. |
|
SyncToLatest | Synchronizes the work item to the latest revision. |
|
ToString | Returns a string that represents the current object. (Inherited from Object.) |
|
Validate | Gets an ArrayList of fields in this work item that are not valid. |
Show: