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
'Declaration
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 | |
|---|---|---|
| .gif) | RelatedLink(Int32) | Initializes a new RelatedLink instance. | 
| .gif) | RelatedLink(WorkItemLinkTypeEnd, Int32) | Initializes a new RelatedLink instance. | 
Top
Properties
| Name | Description | |
|---|---|---|
| .gif) | ArtifactLinkType | Gets the artifact link type of this link. (Overrides Link.ArtifactLinkType.) | 
| .gif) | BaseType | Gets the base type of this link. (Overrides Link.BaseType.) | 
| .gif) | Comment | Gets or sets the comment that is associated with this link. (Overrides Link.Comment.) | 
| .gif) | IsLocked | Gets or sets a flag that describes the locked status of this link. (Overrides Link.IsLocked.) | 
| .gif) | IsNew | Gets or sets a flag that describes whether this link is new. (Overrides Link.IsNew.) | 
| .gif) | LinkTypeEnd | Gets the work item link type end that is associated with this link. | 
| .gif) | RelatedWorkItemId | Gets the related work item ID of this link. | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | 
| .gif) | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | 
| .gif) | GetHashCode | Serves as the default hash function. (Inherited from Object.) | 
| .gif) | GetType | Gets the Type of the current instance. (Inherited from Object.) | 
| .gif) | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | 
| .gif) | 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.