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
id
Type: System.Int32The 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.
.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.