This documentation is archived and is not being maintained.

RelatedLink Class

Links two work item objects in the same work item store and across stores.


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

public class RelatedLink : Link

The RelatedLink type exposes the following members.

Public methodRelatedLink(Int32)Initializes a new RelatedLink instance.
Public methodRelatedLink(WorkItemLinkTypeEnd, Int32)Initializes a new RelatedLink instance.

Public propertyArtifactLinkTypeGets the artifact link type of this link. (Overrides Link.ArtifactLinkType.)
Public propertyBaseTypeGets the base type of this link. (Overrides Link.BaseType.)
Public propertyCommentGets or sets the comment that is associated with this link. (Overrides Link.Comment.)
Public propertyIsLockedGets or sets a flag that describes the locked status of this link. (Overrides Link.IsLocked.)
Public propertyIsNewGets or sets a flag that describes whether this link is new. (Overrides Link.IsNew.)
Public propertyLinkTypeEndGets the work item link type end that is associated with this link.
Public propertyRelatedWorkItemIdGets the related work item ID of this link.

Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)

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