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)

Syntax

'Declaration
Public Function TryGetById ( _
    id As Integer, _
    <OutAttribute> ByRef linkTypeEnd As WorkItemLinkTypeEnd _
) As Boolean
public bool TryGetById(
    int id,
    out WorkItemLinkTypeEnd linkTypeEnd
)
public:
bool TryGetById(
    int id, 
    [OutAttribute] WorkItemLinkTypeEnd^% linkTypeEnd
)
member TryGetById : 
        id:int * 
        linkTypeEnd:WorkItemLinkTypeEnd byref -> bool
public function TryGetById(
    id : int, 
    linkTypeEnd : WorkItemLinkTypeEnd
) : boolean

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

WorkItemLinkTypeEndCollection Class

Microsoft.TeamFoundation.WorkItemTracking.Client Namespace