Export (0) Print
Expand All

WorkItem Methods

The WorkItem type exposes the following members.

  Name Description
Public method Close Closes this WorkItem instance and frees memory that is associated with it.
Public method Copy() Creates a copy of this WorkItem instance.
Public method Copy(WorkItemType) Creates a copy of this WorkItem instance that is of the specified WorkItemType.
Public method Copy(WorkItemType, WorkItemCopyFlags) Creates a copy of this WorkItem instance that is of the specified WorkItemType.
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetNextState Gets the next state of this work item based on the action of a user.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method IsValid Validates the fields of this work item.
Public method Open Opens this work item for modification.
Public method PartialOpen Opens this work item for modification when transmitting minimal amounts of data over the network.
Public method Reset Reverts all changes that were made since the last save.
Public method Save() Saves any pending changes on this work item.
Public method Save(SaveFlags) Saves any pending changes on this work item.
Public method 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.
Public method SyncToLatest Synchronizes the work item to the latest revision.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method Validate Gets an ArrayList of fields in this work item that are not valid.
Top
Show:
© 2014 Microsoft