This documentation is archived and is not being maintained.

WorkItemLinkTypeEndCollection::TryGetById Method

Attempts to get a WorkItemLinkTypeEnd in this collection that has the specified ID. Passes out the WorkItemLinkTypeEnd.

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

public:
bool TryGetById(
	int id, 
	[OutAttribute] WorkItemLinkTypeEnd^% linkTypeEnd
)

Parameters

id
Type: System::Int32

The ID of the WorkItemLinkTypeEnd.

linkTypeEnd
Type: Microsoft.TeamFoundation.WorkItemTracking.Client::WorkItemLinkTypeEnd%

The WorkItemLinkTypeEnd object that has the specified ID. Passed by reference.

Return Value

Type: System::Boolean
True if the specified WorkItemLinkTypeEnd instance was found and passed through linkTypeEnd; otherwise, false.

Show: