Partilhar via


WorkItemLink Constructor (WorkItemLinkTypeEnd, Int32)

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

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

Syntax

'Declaração
Public Sub New ( _
    linkTypeEnd As WorkItemLinkTypeEnd, _
    targetId As Integer _
)
public WorkItemLink(
    WorkItemLinkTypeEnd linkTypeEnd,
    int targetId
)
public:
WorkItemLink(
    WorkItemLinkTypeEnd^ linkTypeEnd, 
    int targetId
)
new : 
        linkTypeEnd:WorkItemLinkTypeEnd * 
        targetId:int -> WorkItemLink
public function WorkItemLink(
    linkTypeEnd : WorkItemLinkTypeEnd, 
    targetId : int
)

Parameters

Remarks

The SourceId property is set to 0.

.NET Framework Security

See Also

Reference

WorkItemLink Class

WorkItemLink Overload

Microsoft.TeamFoundation.WorkItemTracking.Client Namespace