Export (0) Print
Expand All

WorkItemLink Class

Links two WorkItems in the same WorkItemStore.

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)

public class WorkItemLink : Link

The WorkItemLink type exposes the following members.

  NameDescription
Public methodWorkItemLink(WorkItemLinkTypeEnd)Initializes a new instance of the WorkItemLink class from the specified WorkItemLinkTypeEnd.
Public methodWorkItemLink(WorkItemLinkTypeEnd, Int32)Initializes a new instance of the WorkItemLink class from the specified WorkItemLinkTypeEnd and target ID.
Public methodWorkItemLink(WorkItemLinkTypeEnd, Int32, Int32)Initializes a new instance of the WorkItemLink class from the specified WorkItemLinkTypeEnd, source ID, and target ID.
Top

  NameDescription
Public propertyAddedByGets the name of the user who created this link.
Public propertyAddedDateGets the time, in local time, that this link was added.
Public propertyAddedDateUtcGets the time, in UTC, that this link was added.
Public propertyArtifactLinkTypeGets the artifact link type of this link. (Overrides Link.ArtifactLinkType.)
Public propertyBaseTypeGets the base type of this link. (Overrides Link.BaseType.)
Public propertyChangedDate
Public propertyCommentGets or sets a description of this link. (Overrides Link.Comment.)
Public propertyIsLockedGets a flag that describes whether this link is locked. (Overrides Link.IsLocked.)
Public propertyIsNewGets or sets a flag that describes whether this link is new. (Overrides Link.IsNew.)
Public propertyLinkTypeEndGets the link type end of this link.
Public propertyRemovedByGets the name of the user who removed this link.
Public propertyRemovedDateGets the time, in local time, that this link was removed.
Public propertyRemovedDateUtcGets the time, in UTC, that this link was removed.
Public propertySourceIdGets or sets the ID of the source WorkItem of this link.
Public propertyTargetIdGets or sets the ID of the target WorkItem of this link.
Top

  NameDescription
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.)
Top

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