共用方式為


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

'宣告
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.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (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.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (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