Delen via


Revision Class

Represents a work item revision state.

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.WorkItemTracking.Client.Revision

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

Syntax

'Declaration
Public NotInheritable Class Revision
public sealed class Revision
public ref class Revision sealed
[<Sealed>]
type Revision =  class end
public final class Revision

The Revision type exposes the following members.

Properties

  Name Description
Public property Attachments Gets the attachments of the work item in this revision.
Public property Fields Gets the fields of the work item in this revision.
Public property Index Gets the index of this revision.
Public property Item Gets the value of the specified field in the work item of this revision.
Public property Links Gets the links of the work item in this revision.
Public property WorkItem Gets the work item that is stored in this revision.

Top

Methods

  Name Description
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 GetTagLine Gets the tagline for this revision.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.TeamFoundation.WorkItemTracking.Client Namespace