This documentation is archived and is not being maintained.
WorkItemLinkCollection::Add Method
Visual Studio 2013
Adds the specified WorkItemLink to this collection.
Namespace: Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly: Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)
Parameters
- link
- Type: Microsoft.TeamFoundation.WorkItemTracking.Client::WorkItemLink
The WorkItemLink to add to this collection.
| Exception | Condition |
|---|---|
| ArgumentNullException | The link parameter was null. |
| InvalidOperationException | The object that is specified in the link parameter already occurs in this collection. |
- 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: