WorkItemLink Class
Links two WorkItems in the same WorkItemStore.
Inheritance Hierarchy
System.Object
Microsoft.TeamFoundation.WorkItemTracking.Client.Link
Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemLink
Namespace: Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly: Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)
Syntax
'Declaration
Public Class WorkItemLink _
Inherits Link
public class WorkItemLink : Link
public ref class WorkItemLink : public Link
type WorkItemLink =
class
inherit Link
end
public class WorkItemLink extends Link
The WorkItemLink type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
WorkItemLink(WorkItemLinkTypeEnd) | Initializes a new instance of the WorkItemLink class from the specified WorkItemLinkTypeEnd. |
![]() |
WorkItemLink(WorkItemLinkTypeEnd, Int32) | Initializes a new instance of the WorkItemLink class from the specified WorkItemLinkTypeEnd and target ID. |
![]() |
WorkItemLink(WorkItemLinkTypeEnd, Int32, Int32) | Initializes a new instance of the WorkItemLink class from the specified WorkItemLinkTypeEnd, source ID, and target ID. |
Top
Properties
Name | Description | |
---|---|---|
![]() |
AddedBy | Gets the name of the user who created this link. |
![]() |
AddedDate | Gets the time, in local time, that this link was added. |
![]() |
AddedDateUtc | Gets the time, in UTC, that this link was added. |
![]() |
ArtifactLinkType | Gets the artifact link type of this link. (Overrides Link.ArtifactLinkType.) |
![]() |
BaseType | Gets the base type of this link. (Overrides Link.BaseType.) |
![]() |
ChangedDate | |
![]() |
Comment | Gets or sets a description of this link. (Overrides Link.Comment.) |
![]() |
IsLocked | Gets a flag that describes whether this link is locked. (Overrides Link.IsLocked.) |
![]() |
IsNew | Gets or sets a flag that describes whether this link is new. (Overrides Link.IsNew.) |
![]() |
LinkTypeEnd | Gets the link type end of this link. |
![]() |
RemovedBy | Gets the name of the user who removed this link. |
![]() |
RemovedDate | Gets the time, in local time, that this link was removed. |
![]() |
RemovedDateUtc | Gets the time, in UTC, that this link was removed. |
![]() |
SourceId | Gets or sets the ID of the source WorkItem of this link. |
![]() |
TargetId | Gets or sets the ID of the target WorkItem 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 the default hash function. (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.