RelatedLink Class
Links two work item objects in the same work item store and across stores.
Inheritance Hierarchy
System.Object
Microsoft.TeamFoundation.WorkItemTracking.Client.Link
Microsoft.TeamFoundation.WorkItemTracking.Client.RelatedLink
Namespace: Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly: Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)
Syntax
声明
Public Class RelatedLink _
Inherits Link
public class RelatedLink : Link
public ref class RelatedLink : public Link
type RelatedLink =
class
inherit Link
end
public class RelatedLink extends Link
The RelatedLink type exposes the following members.
Constructors
Name | Description | |
---|---|---|
RelatedLink(Int32) | Initializes a new RelatedLink instance. | |
RelatedLink(WorkItemLinkTypeEnd, Int32) | Initializes a new RelatedLink instance. |
Top
Properties
Name | Description | |
---|---|---|
ArtifactLinkType | Gets the artifact link type of this link. (Overrides Link.ArtifactLinkType.) | |
BaseType | Gets the base type of this link. (Overrides Link.BaseType.) | |
Comment | Gets or sets the comment that is associated with this link. (Overrides Link.Comment.) | |
IsLocked | Gets or sets a flag that describes the locked status of this link. (Overrides Link.IsLocked.) | |
IsNew | Gets or sets a flag that describes whether this link is new. (Overrides Link.IsNew.) | |
LinkTypeEnd | Gets the work item link type end that is associated with this link. | |
RelatedWorkItemId | Gets the related work item ID of this link. |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
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.