共用方式為


WorkItemLinkTypeEnd Class

Represents an endpoint of a WorkItemLinkType.

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemLinkTypeEnd

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

Syntax

'宣告
Public Class WorkItemLinkTypeEnd
public class WorkItemLinkTypeEnd
public ref class WorkItemLinkTypeEnd
type WorkItemLinkTypeEnd =  class end
public class WorkItemLinkTypeEnd

The WorkItemLinkTypeEnd type exposes the following members.

Properties

  Name Description
Public property Id Gets the ID of the WorkItemLinkType to which this link type end belongs.
Public property ImmutableName Gets the immutable name of this link type end.
Public property IsForwardLink Gets a flag that describes whether this link type end is the forward end of the link.
Public property LinkType Gets the WorkItemLinkType to which this link type end belongs.
Public property Name Gets the name of this link type end.
Public property OppositeEnd Gets the link type end on the opposite side of the WorkItemLinkType to which this link type end belongs.

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 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

Remarks

Each instance of WorkItemLinkType has references to two WorkItemLinkTypeEnd objects. These objects are stored in the WorkItemLinkType.ForwardEnd and WorkItemLinkType.ReverseEnd properties.

A WorkItemLinkTypeEnd object contains the name for this link type end and a reference to the opposite end of the WorkItemLinkType.

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