WorkItemLinkTypeEndCollection.TryGetByName Method

Attempts to get a WorkItemLinkTypeEnd in this collection that has the specified name or immutable name. Passes out the WorkItemLinkTypeEnd.

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

Syntax

'Declaration
Public Function TryGetByName ( _
    linkTypeEndName As String, _
    <OutAttribute> ByRef linkTypeEnd As WorkItemLinkTypeEnd _
) As Boolean
public bool TryGetByName(
    string linkTypeEndName,
    out WorkItemLinkTypeEnd linkTypeEnd
)
public:
bool TryGetByName(
    String^ linkTypeEndName, 
    [OutAttribute] WorkItemLinkTypeEnd^% linkTypeEnd
)
member TryGetByName : 
        linkTypeEndName:string * 
        linkTypeEnd:WorkItemLinkTypeEnd byref -> bool
public function TryGetByName(
    linkTypeEndName : String, 
    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