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
linkTypeEndName
Type: System.StringThe name or immutable name of the WorkItemLinkTypeEnd.
linkTypeEnd
Type: Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemLinkTypeEnd%The WorkItemLinkTypeEnd object. 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.