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
- linkTypeEnd
Type: Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemLinkTypeEnd
The WorkItemLinkTypeEnd that defines the link.
- sourceId
Type: System.Int32
The ID of the source WorkItem.
- targetId
Type: System.Int32
The ID of the target WorkItem.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.