This documentation is archived and is not being maintained.
WorkItemLinkTypeCollection::TryGetByName Method
Visual Studio 2013
Attempts to get a WorkItemLinkType in this collection that has the specified reference name. Passes out the WorkItemLinkType object in the linkType parameter.
Namespace: Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly: Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)
public: bool TryGetByName( String^ linkTypeReferenceName, [OutAttribute] WorkItemLinkType^% linkType )
Parameters
- linkTypeReferenceName
- Type: System::String
The reference name of the desired WorkItemLinkType.
- linkType
- Type: Microsoft.TeamFoundation.WorkItemTracking.Client::WorkItemLinkType%
The WorkItemLinkType object that has the specified reference name. Passed out by reference.
Return Value
Type: System::BooleanTrue if a WorkItemLinkType that is associated to the reference name was found and passed out through the linkType parameter; otherwise, false.
- 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.
Show: