共用方式為


WorkItemLink Constructor (WorkItemLinkTypeEnd, Int32, Int32)

Initializes a new instance of the WorkItemLink class from the specified WorkItemLinkTypeEnd, source ID, and target ID.

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

Syntax

'宣告
Public Sub New ( _
    linkTypeEnd As WorkItemLinkTypeEnd, _
    sourceId As Integer, _
    targetId As Integer _
)
public WorkItemLink(
    WorkItemLinkTypeEnd linkTypeEnd,
    int sourceId,
    int targetId
)
public:
WorkItemLink(
    WorkItemLinkTypeEnd^ linkTypeEnd, 
    int sourceId, 
    int targetId
)
new : 
        linkTypeEnd:WorkItemLinkTypeEnd * 
        sourceId:int * 
        targetId:int -> WorkItemLink
public function WorkItemLink(
    linkTypeEnd : WorkItemLinkTypeEnd, 
    sourceId : int, 
    targetId : int
)

Parameters

.NET Framework Security

See Also

Reference

WorkItemLink Class

WorkItemLink Overload

Microsoft.TeamFoundation.WorkItemTracking.Client Namespace