다음을 통해 공유


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

‘선언
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
Public method WorkItemLink(WorkItemLinkTypeEnd) Initializes a new instance of the WorkItemLink class from the specified WorkItemLinkTypeEnd.
Public method WorkItemLink(WorkItemLinkTypeEnd, Int32) Initializes a new instance of the WorkItemLink class from the specified WorkItemLinkTypeEnd and target ID.
Public method 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
Public property AddedBy Gets the name of the user who created this link.
Public property AddedDate Gets the time, in local time, that this link was added.
Public property AddedDateUtc Gets the time, in UTC, that this link was added.
Public property ArtifactLinkType Gets the artifact link type of this link. (Overrides Link.ArtifactLinkType.)
Public property BaseType Gets the base type of this link. (Overrides Link.BaseType.)
Public property Comment Gets or sets a description of this link. (Overrides Link.Comment.)
Public property IsLocked Gets a flag that describes whether this link is locked. (Overrides Link.IsLocked.)
Public property IsNew Gets or sets a flag that describes whether this link is new. (Overrides Link.IsNew.)
Public property LinkTypeEnd Gets the link type end of this link.
Public property RemovedBy Gets the name of the user who removed this link.
Public property RemovedDate Gets the time, in local time, that this link was removed.
Public property RemovedDateUtc Gets the time, in UTC, that this link was removed.
Public property SourceId Gets or sets the ID of the source WorkItem of this link.
Public property TargetId Gets or sets the ID of the target WorkItem of this link.

Top

Methods

  Name Description
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method 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.

See Also

Reference

Microsoft.TeamFoundation.WorkItemTracking.Client Namespace